27 lines
		
	
	
		
			554 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			554 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
# == Schema Information
 | 
						|
#
 | 
						|
# Table name: offlines
 | 
						|
#
 | 
						|
#  id         :integer          not null, primary key
 | 
						|
#  completed  :boolean
 | 
						|
#  end_time   :datetime
 | 
						|
#  name       :string           not null
 | 
						|
#  start_time :datetime         not null
 | 
						|
#  created_at :datetime         not null
 | 
						|
#  updated_at :datetime         not null
 | 
						|
#  contest_id :integer          not null
 | 
						|
#
 | 
						|
# Indexes
 | 
						|
#
 | 
						|
#  index_offlines_on_contest_id  (contest_id)
 | 
						|
#
 | 
						|
# Foreign Keys
 | 
						|
#
 | 
						|
#  contest_id  (contest_id => contests.id)
 | 
						|
#
 | 
						|
FactoryBot.define do
 | 
						|
  factory :offline do
 | 
						|
    name { "test" }
 | 
						|
  end
 | 
						|
end
 |