feat(routing): add instructeurs_self_management_enabled to procedures

This commit is contained in:
Paul Chavard 2021-09-23 10:42:47 +02:00
parent 9ae1ca0a14
commit d4e8158887
3 changed files with 8 additions and 1 deletions

View file

@ -25,6 +25,7 @@
# experts_require_administrateur_invitation :boolean default(FALSE)
# for_individual :boolean default(FALSE)
# hidden_at :datetime
# instructeurs_self_management_enabled :boolean
# juridique_required :boolean default(TRUE)
# libelle :string
# lien_demarche :string

View file

@ -0,0 +1,5 @@
class AddInstructeursSelfManagementEnabledToProcedures < ActiveRecord::Migration[6.1]
def change
add_column :procedures, :instructeurs_self_management_enabled, :boolean
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_09_15_170019) do
ActiveRecord::Schema.define(version: 2021_09_23_083416) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -621,6 +621,7 @@ ActiveRecord::Schema.define(version: 2021_09_15_170019) do
t.string "encrypted_api_particulier_token"
t.text "api_particulier_scopes", default: [], array: true
t.jsonb "api_particulier_sources", default: {}
t.boolean "instructeurs_self_management_enabled"
t.index ["api_particulier_sources"], name: "index_procedures_on_api_particulier_sources", using: :gin
t.boolean "routing_enabled"
t.index ["declarative_with_state"], name: "index_procedures_on_declarative_with_state"