GeoRSS aggregator and Layar augmented reality server
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 

12 řádky
259 B

  1. class PostPublishedChangeToDatetime < ActiveRecord::Migration
  2. def up
  3. remove_column :posts, :published
  4. add_column :posts, :published, :datetime
  5. end
  6. def down
  7. remove_column :posts, :published
  8. add_column :posts, :published, :time
  9. end
  10. end