models: update database comments

This commit is contained in:
Pierre de La Morinerie 2022-05-18 12:25:40 +00:00
parent 49aece457e
commit 49410ff5f7
2 changed files with 13 additions and 15 deletions

View file

@ -14,6 +14,7 @@
# en_construction_at :datetime
# en_construction_close_to_expiration_notice_sent_at :datetime
# en_instruction_at :datetime
# for_procedure_preview :boolean default(FALSE)
# groupe_instructeur_updated_at :datetime
# hidden_at :datetime
# hidden_by_administration_at :datetime
@ -26,7 +27,6 @@
# last_commentaire_updated_at :datetime
# motivation :text
# private_search_terms :text
# for_procedure_preview :boolean
# processed_at :datetime
# search_terms :text
# state :string

View file

@ -2,20 +2,18 @@
#
# Table name: types_de_champ
#
# id :integer not null, primary key
# description :text
# libelle :string
# mandatory :boolean default(FALSE)
# migrated_parent :boolean
# options :jsonb
# order_place :integer
# private :boolean default(FALSE), not null
# type_champ :string
# created_at :datetime
# updated_at :datetime
# parent_id :bigint
# revision_id :bigint
# stable_id :bigint
# id :integer not null, primary key
# description :text
# libelle :string
# mandatory :boolean default(FALSE)
# options :jsonb
# order_place :integer
# private :boolean default(FALSE), not null
# type_champ :string
# created_at :datetime
# updated_at :datetime
# parent_id :bigint
# stable_id :bigint
#
class TypeDeChamp < ApplicationRecord
self.ignored_columns = [:migrated_parent, :revision_id]