migration
This commit is contained in:
parent
61c203e97e
commit
e9fab486fb
2 changed files with 9 additions and 1 deletions
|
@ -0,0 +1,6 @@
|
|||
class AddExpertNotificationSettingsToExpertsProcedures < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :experts_procedures, :notify_on_new_avis, :boolean, default: true, null: false
|
||||
add_column :experts_procedures, :notify_on_new_message, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
|
@ -586,6 +586,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_03_16_065520) do
|
|||
t.boolean "allow_decision_access", default: false, null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.bigint "expert_id", null: false
|
||||
t.boolean "notify_on_new_avis", default: true, null: false
|
||||
t.boolean "notify_on_new_message", default: false, null: false
|
||||
t.bigint "procedure_id", null: false
|
||||
t.datetime "revoked_at", precision: nil
|
||||
t.datetime "updated_at", null: false
|
||||
|
@ -1230,7 +1232,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_03_16_065520) do
|
|||
add_foreign_key "dossiers", "groupe_instructeurs"
|
||||
add_foreign_key "dossiers", "procedure_revisions", column: "revision_id"
|
||||
add_foreign_key "dossiers", "users"
|
||||
add_foreign_key "etablissements", "dossiers"
|
||||
add_foreign_key "etablissements", "dossiers"
|
||||
add_foreign_key "experts", "users"
|
||||
add_foreign_key "experts_procedures", "experts"
|
||||
add_foreign_key "experts_procedures", "procedures"
|
||||
|
|
Loading…
Reference in a new issue