Remove deprecated attributes from Debates

Some fields from Debates are deprecated and we no longer need them.
This commit is contained in:
taitus
2020-08-31 13:31:05 +02:00
parent 5eed36ca8e
commit 086b0366a2
2 changed files with 6 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
class RemoveDeprecatedFieldsFromDebates < ActiveRecord::Migration[5.1]
def change
remove_column :debates, :deprecated_title, :string
remove_column :debates, :deprecated_description, :text
end
end