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: event_users
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# comment :string
|
||||
# event_role :string default("participant"), not null
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# event_id :integer
|
||||
# user_id :integer
|
||||
#
|
||||
class EventUser < ApplicationRecord
|
||||
ROLES = [%w[Speaker speaker], %w[Submitter submitter], %w[Moderator moderator],
|
||||
%w[Volunteer volunteer]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue