35 lines
902 B
Ruby
35 lines
902 B
Ruby
# == Schema Information
|
|
#
|
|
# Table name: world_participants
|
|
#
|
|
# id :integer not null, primary key
|
|
# final_result :integer
|
|
# name :string not null
|
|
# qualifier_result :integer
|
|
# round :string not null
|
|
# score :integer
|
|
# semifinal_result :integer
|
|
# username :string not null
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
# world_country_id :integer not null
|
|
#
|
|
# Indexes
|
|
#
|
|
# index_world_participants_on_world_country_id (world_country_id)
|
|
#
|
|
# Foreign Keys
|
|
#
|
|
# world_country_id (world_country_id => world_countries.id)
|
|
#
|
|
FactoryBot.define do
|
|
factory :world_participant do
|
|
username { "MyString" }
|
|
name { "MyString" }
|
|
world_country { nil }
|
|
qualifier_result { 1 }
|
|
semifinal_result { 1 }
|
|
final_result { 1 }
|
|
end
|
|
end
|