Events: initial implementation
This commit is contained in:
@@ -20,16 +20,19 @@
|
||||
# team :boolean default(FALSE)
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# event_id :integer
|
||||
# user_id :integer not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_contests_on_slug (slug) UNIQUE
|
||||
# index_contests_on_user_id (user_id)
|
||||
# index_contests_on_event_id (event_id)
|
||||
# index_contests_on_slug (slug) UNIQUE
|
||||
# index_contests_on_user_id (user_id)
|
||||
#
|
||||
# Foreign Keys
|
||||
#
|
||||
# user_id (user_id => users.id)
|
||||
# event_id (event_id => events.id)
|
||||
# user_id (user_id => users.id)
|
||||
#
|
||||
FactoryBot.define do
|
||||
factory :contest do
|
||||
|
||||
Reference in New Issue
Block a user