models: generate annotations

This commit is contained in:
Pierre de La Morinerie 2020-08-06 16:35:45 +02:00
parent e6d8581b06
commit 6d28069539
67 changed files with 1038 additions and 0 deletions

View file

@ -1,3 +1,12 @@
# == Schema Information
#
# Table name: procedure_revisions
#
# id :bigint not null, primary key
# created_at :datetime not null
# updated_at :datetime not null
# procedure_id :bigint not null
#
class ProcedureRevision < ApplicationRecord
self.implicit_order_column = :created_at
belongs_to :procedure, -> { with_discarded }, inverse_of: :revisions