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

12 lines
291 B
Ruby

class RemoveDatesFromAlbumStyle < ActiveRecord::Migration
def up
remove_column :album_styles, :created_at
remove_column :album_styles, :updated_at
end
def down
add_column :album_styles, :updated_at, :datetime
add_column :album_styles, :created_at, :datetime
end
end