GeoRSS aggregator and Layar augmented reality server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
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