chore(schema): +procedure#estimated_duration_visible
This commit is contained in:
parent
44177db6d0
commit
eb9cd90ee8
4 changed files with 9 additions and 1 deletions
|
@ -18,6 +18,7 @@
|
|||
# duree_conservation_dossiers_dans_ds :integer
|
||||
# duree_conservation_etendue_par_ds :boolean default(FALSE)
|
||||
# encrypted_api_particulier_token :string
|
||||
# estimated_duration_visible :boolean default(TRUE), not null
|
||||
# euro_flag :boolean default(FALSE)
|
||||
# experts_require_administrateur_invitation :boolean default(FALSE)
|
||||
# for_individual :boolean default(FALSE)
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
class AddEstimatedDurationVisibleToProcedures < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :procedures, :estimated_duration_visible, :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.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2023_01_26_145329) do
|
||||
ActiveRecord::Schema.define(version: 2023_01_31_172119) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pgcrypto"
|
||||
|
@ -707,6 +707,7 @@ ActiveRecord::Schema.define(version: 2023_01_26_145329) do
|
|||
t.boolean "duree_conservation_etendue_par_ds", default: false
|
||||
t.boolean "durees_conservation_required", default: true
|
||||
t.string "encrypted_api_particulier_token"
|
||||
t.boolean "estimated_duration_visible", default: true, null: false
|
||||
t.boolean "euro_flag", default: false
|
||||
t.boolean "experts_require_administrateur_invitation", default: false
|
||||
t.boolean "for_individual", default: false
|
||||
|
|
|
@ -9,6 +9,7 @@ FactoryBot.define do
|
|||
published_at { nil }
|
||||
duree_conservation_dossiers_dans_ds { 3 }
|
||||
max_duree_conservation_dossiers_dans_ds { Procedure::OLD_MAX_DUREE_CONSERVATION }
|
||||
estimated_duration_visible { true }
|
||||
ask_birthday { false }
|
||||
lien_site_web { "https://mon-site.gouv" }
|
||||
path { SecureRandom.uuid }
|
||||
|
|
Loading…
Reference in a new issue