-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathstudent_extensions.rb
More file actions
33 lines (31 loc) · 937 Bytes
/
student_extensions.rb
File metadata and controls
33 lines (31 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# == Schema Information
#
# Table name: student_extensions
#
# id :integer not null, primary key
# hard_deadline :datetime
# opening_date :datetime
# soft_deadline :datetime
# time_limit :integer
# created_at :datetime
# updated_at :datetime
# user_id :integer
# workout_offering_id :integer
#
# Indexes
#
# index_student_extensions_on_user_id (user_id)
# index_student_extensions_on_workout_offering_id (workout_offering_id)
#
# Foreign Keys
#
# student_extensions_user_id_fk (user_id => users.id)
# student_extensions_workout_offering_id_fk (workout_offering_id => workout_offerings.id)
#
# Read about factories at https://github.com/thoughtbot/factory_bot
FactoryBot.define do
factory :student_extension do
soft_deadline { "2015-09-26 22:05:04" }
hard_deadline { "2015-09-26 22:05:04" }
end
end