Merge pull request #7347 from betagouv/fix-model-comments

Modèles : mise à jour des commentaires du schéma
This commit is contained in:
Pierre de La Morinerie 2022-05-18 15:43:27 +02:00 committed by GitHub
commit 029c6821d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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]