GeoRSS aggregator and Layar augmented reality server
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

20130222125833_post_published_change_to_datetime.rb 259 B

1234567891011
  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