add from_support column to dossier_transfer

This commit is contained in:
Christophe Robillard 2023-11-28 11:07:19 +01:00
parent 64400b512c
commit dc22f245de
2 changed files with 7 additions and 1 deletions

View file

@ -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

View file

@ -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