db(migration): add closing notifications to procedure

This commit is contained in:
Eric Leroy-Terquem 2024-02-15 10:59:43 +01:00
parent 1bbf35a6ba
commit c147d9b36c
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,6 @@
class AddClosingNotificationsToProcedure < ActiveRecord::Migration[7.0]
def change
add_column :procedures, :closing_notification_brouillon, :boolean, default: false, null: false
add_column :procedures, :closing_notification_en_cours, :boolean, default: false, null: false
end
end

View file

@ -856,6 +856,10 @@ ActiveRecord::Schema[7.0].define(version: 2024_02_27_163855) do
t.jsonb "chorus", default: {}, null: false
t.boolean "cloned_from_library", default: false
t.datetime "closed_at", precision: nil
t.string "closing_details"
t.boolean "closing_notification_brouillon", default: false, null: false
t.boolean "closing_notification_en_cours", default: false, null: false
t.string "closing_reason"
t.datetime "created_at", precision: nil, null: false
t.string "declarative_with_state"
t.bigint "defaut_groupe_instructeur_id"