feat(procedure): add lien_notice_error and lien_dpo_error

This commit is contained in:
Paul Chavard 2023-06-29 12:57:57 +02:00
parent 7ade521582
commit a43c3fd19d
3 changed files with 11 additions and 1 deletions

View file

@ -32,7 +32,9 @@
# juridique_required :boolean default(TRUE)
# libelle :string
# lien_dpo :string
# lien_dpo_error :text
# lien_notice :string
# lien_notice_error :text
# lien_site_web :string
# max_duree_conservation_dossiers_dans_ds :integer default(12), not null
# migrated_champ_routage :boolean

View file

@ -0,0 +1,6 @@
class AddLienNoticeAndDpoErrorsToProcedures < ActiveRecord::Migration[7.0]
def change
add_column :procedures, :lien_notice_error, :text
add_column :procedures, :lien_dpo_error, :text
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.0].define(version: 2023_06_23_160831) do
ActiveRecord::Schema[7.0].define(version: 2023_06_29_102031) do
# These are extensions that must be enabled in order to support this database
enable_extension "pgcrypto"
enable_extension "plpgsql"
@ -743,7 +743,9 @@ ActiveRecord::Schema[7.0].define(version: 2023_06_23_160831) do
t.string "libelle"
t.string "lien_demarche"
t.string "lien_dpo"
t.text "lien_dpo_error"
t.string "lien_notice"
t.text "lien_notice_error"
t.string "lien_site_web"
t.integer "max_duree_conservation_dossiers_dans_ds", default: 12, null: false
t.boolean "migrated_champ_routage"