Files
grecia/db/migrate/20200831113416_remove_deprecated_fields_from_proposals.rb
taitus f90c09bea7 Remove deprecated attributes from Proposals
Some fields from Proposals are deprecated and we no longer need them.
2020-09-08 12:13:21 +02:00

9 lines
340 B
Ruby

class RemoveDeprecatedFieldsFromProposals < ActiveRecord::Migration[5.1]
def change
remove_column :proposals, :deprecated_title, :string
remove_column :proposals, :deprecated_description, :text
remove_column :proposals, :deprecated_summary, :text
remove_column :proposals, :deprecated_retired_explanation, :text
end
end