chore(schema): model annotations accordingly to schema
This commit is contained in:
parent
b3099214b1
commit
d31016973c
5 changed files with 10 additions and 9 deletions
|
@ -17,6 +17,7 @@
|
||||||
# etablissement_id :integer
|
# etablissement_id :integer
|
||||||
# external_id :string
|
# external_id :string
|
||||||
# parent_id :bigint
|
# parent_id :bigint
|
||||||
|
# row_id :string
|
||||||
# type_de_champ_id :integer
|
# type_de_champ_id :integer
|
||||||
#
|
#
|
||||||
class Champs::BooleanChamp < Champ
|
class Champs::BooleanChamp < Champ
|
||||||
|
|
|
@ -13,12 +13,12 @@
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
# created_at :datetime
|
# created_at :datetime
|
||||||
# updated_at :datetime
|
# updated_at :datetime
|
||||||
# dossier_id :integer not null
|
# dossier_id :integer
|
||||||
# etablissement_id :integer
|
# etablissement_id :integer
|
||||||
# external_id :string
|
# external_id :string
|
||||||
# parent_id :bigint
|
# parent_id :bigint
|
||||||
# type_de_champ_id :integer not null
|
|
||||||
# row_id :string
|
# row_id :string
|
||||||
|
# type_de_champ_id :integer
|
||||||
#
|
#
|
||||||
class Champs::RNAChamp < Champ
|
class Champs::RNAChamp < Champ
|
||||||
include RNAChampAssociationFetchableConcern
|
include RNAChampAssociationFetchableConcern
|
||||||
|
|
|
@ -31,9 +31,9 @@
|
||||||
# motivation :text
|
# motivation :text
|
||||||
# prefill_token :string
|
# prefill_token :string
|
||||||
# prefilled :boolean
|
# prefilled :boolean
|
||||||
# private_search_terms :text
|
# private_search_terms :string
|
||||||
# processed_at :datetime
|
# processed_at :datetime
|
||||||
# search_terms :text
|
# search_terms :string
|
||||||
# state :string
|
# state :string
|
||||||
# termine_close_to_expiration_notice_sent_at :datetime
|
# termine_close_to_expiration_notice_sent_at :datetime
|
||||||
# created_at :datetime
|
# created_at :datetime
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# aasm_state :string default("brouillon")
|
# aasm_state :string default("brouillon")
|
||||||
|
# allow_expert_messaging :boolean default(TRUE), not null
|
||||||
# allow_expert_review :boolean default(TRUE), not null
|
# allow_expert_review :boolean default(TRUE), not null
|
||||||
# api_entreprise_token :string
|
# api_entreprise_token :string
|
||||||
# api_particulier_scopes :text default([]), is an Array
|
# api_particulier_scopes :text default([]), is an Array
|
||||||
|
@ -17,10 +18,10 @@
|
||||||
# description :string
|
# description :string
|
||||||
# dossiers_count_computed_at :datetime
|
# dossiers_count_computed_at :datetime
|
||||||
# duree_conservation_dossiers_dans_ds :integer
|
# 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
|
# encrypted_api_particulier_token :string
|
||||||
# estimated_duration_visible :boolean default(TRUE), not null
|
|
||||||
# estimated_dossiers_count :integer
|
# estimated_dossiers_count :integer
|
||||||
|
# estimated_duration_visible :boolean default(TRUE), not null
|
||||||
# euro_flag :boolean default(FALSE)
|
# euro_flag :boolean default(FALSE)
|
||||||
# experts_require_administrateur_invitation :boolean default(FALSE)
|
# experts_require_administrateur_invitation :boolean default(FALSE)
|
||||||
# for_individual :boolean default(FALSE)
|
# for_individual :boolean default(FALSE)
|
||||||
|
@ -28,11 +29,10 @@
|
||||||
# instructeurs_self_management_enabled :boolean
|
# instructeurs_self_management_enabled :boolean
|
||||||
# juridique_required :boolean default(TRUE)
|
# juridique_required :boolean default(TRUE)
|
||||||
# libelle :string
|
# libelle :string
|
||||||
# lien_demarche :string
|
|
||||||
# lien_dpo :string
|
# lien_dpo :string
|
||||||
# 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), not null
|
||||||
# migrated_champ_routage :boolean
|
# migrated_champ_routage :boolean
|
||||||
# monavis_embed :text
|
# monavis_embed :text
|
||||||
# opendata :boolean default(TRUE)
|
# opendata :boolean default(TRUE)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Table name: trusted_device_tokens
|
# Table name: trusted_device_tokens
|
||||||
#
|
#
|
||||||
# id :bigint not null, primary key
|
# id :bigint not null, primary key
|
||||||
# token :string not null
|
# token :string
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# instructeur_id :bigint
|
# instructeur_id :bigint
|
||||||
|
|
Loading…
Reference in a new issue