feat(procedure_revision): add ineligibilite columns
This commit is contained in:
parent
080a818164
commit
810d272be2
4 changed files with 18 additions and 0 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddTransitionsRulesToProcedureRevisions < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :procedure_revisions, :ineligibilite_rules, :jsonb
|
||||
end
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
class AddDossierIneligbleMessageToProcedureRevisions < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :procedure_revisions, :ineligibilite_message, :text
|
||||
end
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
class AddEligibiliteDossiersEnabledToProcedureRevisions < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :procedure_revisions, :ineligibilite_enabled, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
|
@ -863,6 +863,9 @@ ActiveRecord::Schema[7.0].define(version: 2024_05_27_090508) do
|
|||
create_table "procedure_revisions", force: :cascade do |t|
|
||||
t.datetime "created_at", precision: nil, null: false
|
||||
t.bigint "dossier_submitted_message_id"
|
||||
t.boolean "ineligibilite_enabled", default: false, null: false
|
||||
t.text "ineligibilite_message"
|
||||
t.jsonb "ineligibilite_rules"
|
||||
t.bigint "procedure_id", null: false
|
||||
t.datetime "published_at", precision: nil
|
||||
t.datetime "updated_at", precision: nil, null: false
|
||||
|
|
Loading…
Reference in a new issue