chore(schema): model annotations accordingly to schema

This commit is contained in:
Colin Darie 2023-04-24 14:38:39 +02:00
parent b3099214b1
commit d31016973c
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
5 changed files with 10 additions and 9 deletions

View file

@ -17,6 +17,7 @@
# etablissement_id :integer
# external_id :string
# parent_id :bigint
# row_id :string
# type_de_champ_id :integer
#
class Champs::BooleanChamp < Champ

View file

@ -13,12 +13,12 @@
# value_json :jsonb
# created_at :datetime
# updated_at :datetime
# dossier_id :integer not null
# dossier_id :integer
# etablissement_id :integer
# external_id :string
# parent_id :bigint
# type_de_champ_id :integer not null
# row_id :string
# type_de_champ_id :integer
#
class Champs::RNAChamp < Champ
include RNAChampAssociationFetchableConcern

View file

@ -31,9 +31,9 @@
# motivation :text
# prefill_token :string
# prefilled :boolean
# private_search_terms :text
# private_search_terms :string
# processed_at :datetime
# search_terms :text
# search_terms :string
# state :string
# termine_close_to_expiration_notice_sent_at :datetime
# created_at :datetime

View file

@ -4,6 +4,7 @@
#
# id :integer not null, primary key
# aasm_state :string default("brouillon")
# allow_expert_messaging :boolean default(TRUE), not null
# allow_expert_review :boolean default(TRUE), not null
# api_entreprise_token :string
# api_particulier_scopes :text default([]), is an Array
@ -17,10 +18,10 @@
# description :string
# dossiers_count_computed_at :datetime
# duree_conservation_dossiers_dans_ds :integer
# duree_conservation_etendue_par_ds :boolean default(FALSE)
# duree_conservation_etendue_par_ds :boolean default(FALSE), not null
# encrypted_api_particulier_token :string
# estimated_duration_visible :boolean default(TRUE), not null
# estimated_dossiers_count :integer
# 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)
@ -28,11 +29,10 @@
# instructeurs_self_management_enabled :boolean
# juridique_required :boolean default(TRUE)
# libelle :string
# lien_demarche :string
# lien_dpo :string
# lien_notice :string
# lien_site_web :string
# max_duree_conservation_dossiers_dans_ds :integer default(12)
# max_duree_conservation_dossiers_dans_ds :integer default(12), not null
# migrated_champ_routage :boolean
# monavis_embed :text
# opendata :boolean default(TRUE)

View file

@ -3,7 +3,7 @@
# Table name: trusted_device_tokens
#
# id :bigint not null, primary key
# token :string not null
# token :string
# created_at :datetime not null
# updated_at :datetime not null
# instructeur_id :bigint