seed 변경

This commit is contained in:
RubyOn 2025-04-23 11:20:51 +09:00
parent bdd562f0dd
commit e53449e001
1 changed files with 2 additions and 2 deletions

View File

@ -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)