diff --git a/db/migrate/20231127102633_add_from_support_to_dossier_transfers.rb b/db/migrate/20231127102633_add_from_support_to_dossier_transfers.rb new file mode 100644 index 000000000..4fa6bedca --- /dev/null +++ b/db/migrate/20231127102633_add_from_support_to_dossier_transfers.rb @@ -0,0 +1,5 @@ +class AddFromSupportToDossierTransfers < ActiveRecord::Migration[7.0] + def change + add_column :dossier_transfers, :from_support, :boolean, default: false, null: false + end +end diff --git a/db/schema.rb b/db/schema.rb index fd9d97f2c..beff46c42 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2023_11_14_113317) do +ActiveRecord::Schema[7.0].define(version: 2023_11_27_102633) do # These are extensions that must be enabled in order to support this database enable_extension "pgcrypto" enable_extension "plpgsql" @@ -395,6 +395,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_11_14_113317) do t.datetime "created_at", null: false t.string "email", null: false t.datetime "updated_at", null: false + t.boolean "from_support", default: false, null: false t.index ["email"], name: "index_dossier_transfers_on_email" end