add schema and annotation

This commit is contained in:
simon lehericey 2023-01-11 11:17:34 +01:00
parent 28ab19e4f7
commit bd3fbbce49
4 changed files with 7 additions and 1 deletions

View file

@ -27,6 +27,7 @@
# last_champ_private_updated_at :datetime # last_champ_private_updated_at :datetime
# last_champ_updated_at :datetime # last_champ_updated_at :datetime
# last_commentaire_updated_at :datetime # last_commentaire_updated_at :datetime
# migrated_champ_routage :boolean
# motivation :text # motivation :text
# prefill_token :string # prefill_token :string
# prefilled :boolean # prefilled :boolean

View file

@ -30,6 +30,7 @@
# lien_notice :string # lien_notice :string
# lien_site_web :string # lien_site_web :string
# max_duree_conservation_dossiers_dans_ds :integer default(12) # max_duree_conservation_dossiers_dans_ds :integer default(12)
# migrated_champ_routage :boolean
# monavis_embed :text # monavis_embed :text
# opendata :boolean default(TRUE) # opendata :boolean default(TRUE)
# organisation :string # organisation :string

View file

@ -3,6 +3,7 @@
# Table name: procedure_revisions # Table name: procedure_revisions
# #
# id :bigint not null, primary key # id :bigint not null, primary key
# migrated_champ_routage :boolean
# published_at :datetime # published_at :datetime
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null

View file

@ -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_01_10_181426) do ActiveRecord::Schema.define(version: 2023_01_11_094621) 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"
@ -376,6 +376,7 @@ ActiveRecord::Schema.define(version: 2023_01_10_181426) do
t.datetime "last_champ_private_updated_at" t.datetime "last_champ_private_updated_at"
t.datetime "last_champ_updated_at" t.datetime "last_champ_updated_at"
t.datetime "last_commentaire_updated_at" t.datetime "last_commentaire_updated_at"
t.boolean "migrated_champ_routage"
t.text "motivation" t.text "motivation"
t.bigint "parent_dossier_id" t.bigint "parent_dossier_id"
t.string "prefill_token" t.string "prefill_token"
@ -678,6 +679,7 @@ ActiveRecord::Schema.define(version: 2023_01_10_181426) do
t.bigint "attestation_template_id" t.bigint "attestation_template_id"
t.datetime "created_at", null: false t.datetime "created_at", null: false
t.bigint "dossier_submitted_message_id" t.bigint "dossier_submitted_message_id"
t.boolean "migrated_champ_routage"
t.bigint "procedure_id", null: false t.bigint "procedure_id", null: false
t.datetime "published_at" t.datetime "published_at"
t.datetime "updated_at", null: false t.datetime "updated_at", null: false
@ -720,6 +722,7 @@ ActiveRecord::Schema.define(version: 2023_01_10_181426) do
t.string "lien_notice" t.string "lien_notice"
t.string "lien_site_web" t.string "lien_site_web"
t.integer "max_duree_conservation_dossiers_dans_ds", default: 12 t.integer "max_duree_conservation_dossiers_dans_ds", default: 12
t.boolean "migrated_champ_routage"
t.text "monavis_embed" t.text "monavis_embed"
t.boolean "opendata", default: true t.boolean "opendata", default: true
t.string "organisation" t.string "organisation"