Run annotate_models
This commit is contained in:
parent
55e853d31d
commit
d7e24f6521
124 changed files with 2192 additions and 19 deletions
|
|
@ -1,5 +1,17 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: difficulty_levels
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# color :string
|
||||
# description :text
|
||||
# title :string
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# program_id :integer
|
||||
#
|
||||
class DifficultyLevel < ApplicationRecord
|
||||
belongs_to :program, touch: true
|
||||
has_many :events, dependent: :nullify
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue