tech(model.procedure): ajoute une a la table procedures la colonne chorus (jsonb)

This commit is contained in:
Martin 2023-08-28 17:18:54 +02:00
parent fea0cb1c60
commit d8f50700fc
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
class AddChorusColumnToProcedure < ActiveRecord::Migration[7.0]
def change
add_column :procedures, :chorus, :jsonb, default: {}, null: false
end
end

View file

@ -776,6 +776,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_10_10_083144) do
t.string "cadre_juridique"
t.bigint "canonical_procedure_id"
t.boolean "cerfa_flag", default: false
t.jsonb "chorus", default: {}, null: false
t.boolean "cloned_from_library", default: false
t.datetime "closed_at", precision: 6
t.datetime "created_at", precision: 6, null: false