diff --git a/db/migrate/20190221171155_remove_deprecated_translatable_fields_from_legislation_question_options.rb b/db/migrate/20190221171155_remove_deprecated_translatable_fields_from_legislation_question_options.rb new file mode 100644 index 000000000..efffef2be --- /dev/null +++ b/db/migrate/20190221171155_remove_deprecated_translatable_fields_from_legislation_question_options.rb @@ -0,0 +1,5 @@ +class RemoveDeprecatedTranslatableFieldsFromLegislationQuestionOptions < ActiveRecord::Migration[4.2] + def change + remove_column :legislation_question_options, :value, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 8e19a9fe7..21ba5dbb8 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -876,7 +876,6 @@ ActiveRecord::Schema.define(version: 20190607160900) do create_table "legislation_question_options", force: :cascade do |t| t.integer "legislation_question_id" - t.string "value" t.integer "answers_count", default: 0 t.datetime "hidden_at" t.datetime "created_at", null: false