1
0
Fork 0
oldhaven/db/migrate/20110923113149_remove_dates...

12 lines
262 B
Ruby
Raw Normal View History

2011-09-25 22:46:40 +00:00
class RemoveDatesFromStyle < ActiveRecord::Migration
def up
remove_column :styles, :created_at
remove_column :styles, :updated_at
end
def down
add_column :styles, :updated_at, :datetime
add_column :styles, :created_at, :datetime
end
end