seed 변경
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
# MovieGenre.find_or_create_by!(name: genre_name)
|
||||
# end
|
||||
|
||||
Controller.create(name: "첫번째", station_id: 7)
|
||||
Controller.create(name: "두번째", station_id: 8)
|
||||
Controller.create(name: "3번방", station_id: 7)
|
||||
Controller.create(name: "2번방", station_id: 8)
|
||||
|
||||
(0..23).each do | h |
|
||||
Schedule.create!(controller_id: 1, hour: h, minute: 0, is_active: true, temperature: 15.0)
|
||||
|
||||
Reference in New Issue
Block a user