12 lines
262 B
Ruby
12 lines
262 B
Ruby
|
class RemoveDatesFromGenre < ActiveRecord::Migration
|
||
|
def up
|
||
|
remove_column :genres, :created_at
|
||
|
remove_column :genres, :updated_at
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
add_column :genres, :updated_at, :datetime
|
||
|
add_column :genres, :created_at, :datetime
|
||
|
end
|
||
|
end
|