feat(db): add routing column to groupe_instructeurs
This commit is contained in:
parent
f6738be454
commit
3ef6adccd6
3 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
# id :bigint not null, primary key
|
||||
# closed :boolean default(FALSE)
|
||||
# label :text not null
|
||||
# routing_rule :jsonb
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# procedure_id :bigint not null
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
class AddRoutingColumnToGroupeInstructeur < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :groupe_instructeurs, :routing_rule, :jsonb
|
||||
end
|
||||
end
|
|
@ -585,6 +585,7 @@ ActiveRecord::Schema.define(version: 2023_03_22_150907) do
|
|||
t.datetime "created_at", null: false
|
||||
t.text "label", null: false
|
||||
t.bigint "procedure_id", null: false
|
||||
t.jsonb "routing_rule"
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["closed", "procedure_id"], name: "index_groupe_instructeurs_on_closed_and_procedure_id"
|
||||
t.index ["procedure_id", "label"], name: "index_groupe_instructeurs_on_procedure_id_and_label", unique: true
|
||||
|
|
Loading…
Reference in a new issue