Files
grecia/db/migrate/20200831112936_remove_deprecated_fields_from_debates.rb
taitus 086b0366a2 Remove deprecated attributes from Debates
Some fields from Debates are deprecated and we no longer need them.
2020-09-08 12:13:13 +02:00

7 lines
208 B
Ruby

class RemoveDeprecatedFieldsFromDebates < ActiveRecord::Migration[5.1]
def change
remove_column :debates, :deprecated_title, :string
remove_column :debates, :deprecated_description, :text
end
end