migration
This commit is contained in:
parent
5dd6456e4a
commit
ba8d78bd97
2 changed files with 7 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
class AddAllowExpertMessagingToProcedures < ActiveRecord::Migration[6.1]
|
||||||
|
def change
|
||||||
|
add_column :procedures, :allow_expert_messaging, :boolean, default: true, null: false
|
||||||
|
end
|
||||||
|
end
|
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 2023_03_03_094613) do
|
ActiveRecord::Schema.define(version: 2023_03_22_150907) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "pgcrypto"
|
enable_extension "pgcrypto"
|
||||||
|
@ -692,6 +692,7 @@ ActiveRecord::Schema.define(version: 2023_03_03_094613) do
|
||||||
|
|
||||||
create_table "procedures", id: :serial, force: :cascade do |t|
|
create_table "procedures", id: :serial, force: :cascade do |t|
|
||||||
t.string "aasm_state", default: "brouillon"
|
t.string "aasm_state", default: "brouillon"
|
||||||
|
t.boolean "allow_expert_messaging", default: true, null: false
|
||||||
t.boolean "allow_expert_review", default: true, null: false
|
t.boolean "allow_expert_review", default: true, null: false
|
||||||
t.string "api_entreprise_token"
|
t.string "api_entreprise_token"
|
||||||
t.text "api_particulier_scopes", default: [], array: true
|
t.text "api_particulier_scopes", default: [], array: true
|
||||||
|
|
Loading…
Reference in a new issue