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

12 lines
306 B
Ruby

class RemoveDatesFromReleaseFormat < ActiveRecord::Migration
def up
remove_column :release_formats, :created_at
remove_column :release_formats, :updated_at
end
def down
add_column :release_formats, :updated_at, :datetime
add_column :release_formats, :created_at, :datetime
end
end