12 lines
262 B
Ruby
12 lines
262 B
Ruby
|
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
|