30 lines
669 B
YAML
30 lines
669 B
YAML
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
|
|
|
# == Schema Information
|
|
#
|
|
# Table name: contests
|
|
#
|
|
# id :integer not null, primary key
|
|
# allow_registration :boolean default(FALSE)
|
|
# name :string
|
|
# team :boolean default(FALSE)
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
# user_id :integer not null
|
|
#
|
|
# Indexes
|
|
#
|
|
# index_contests_on_user_id (user_id)
|
|
#
|
|
# Foreign Keys
|
|
#
|
|
# user_id (user_id => users.id)
|
|
#
|
|
one:
|
|
name: MyString
|
|
user: one
|
|
|
|
two:
|
|
name: MyString
|
|
user: two
|