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,19 @@
# == Schema Information
#
# Table name: services
#
# id :bigint not null, primary key
# adresse :text
# email :string
# horaires :text
# nom :string not null
# organisme :string
# telephone :string
# type_organisme :string not null
# created_at :datetime not null
# updated_at :datetime not null
# administrateur_id :bigint
#
class Service < ApplicationRecord
self.ignored_columns = ['siret']
has_many :procedures