models: generate annotations
This commit is contained in:
parent
e6d8581b06
commit
6d28069539
67 changed files with 1038 additions and 0 deletions
|
@ -1,3 +1,16 @@
|
|||
# == Schema Information
|
||||
#
|
||||
# Table name: deleted_dossiers
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# deleted_at :datetime
|
||||
# reason :string
|
||||
# state :string
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# dossier_id :bigint
|
||||
# procedure_id :bigint
|
||||
#
|
||||
class DeletedDossier < ApplicationRecord
|
||||
belongs_to :procedure, -> { with_discarded }, inverse_of: :deleted_dossiers
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue