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.
 
 
 
 
 

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