add from_support column to dossier_transfer_logs

This commit is contained in:
Christophe Robillard 2023-11-28 11:10:26 +01:00
parent dc22f245de
commit 116ba085bf
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddFromSupportToDossierTransferLogs < ActiveRecord::Migration[7.0]
def change
add_column :dossier_transfer_logs, :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_27_102633) do
ActiveRecord::Schema[7.0].define(version: 2023_11_28_071043) do
# These are extensions that must be enabled in order to support this database
enable_extension "pgcrypto"
enable_extension "plpgsql"
@ -386,6 +386,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_11_27_102633) do
t.datetime "created_at", null: false
t.bigint "dossier_id", null: false
t.string "from", null: false
t.boolean "from_support", default: false, null: false
t.string "to", null: false
t.datetime "updated_at", null: false
t.index ["dossier_id"], name: "index_dossier_transfer_logs_on_dossier_id"