Add example conference on DB seed
This commit is contained in:
parent
6386ae6db9
commit
5ba2709a8e
10
db/seeds.rb
10
db/seeds.rb
|
@ -10,3 +10,13 @@ User.create(email: "foo@example.com",
|
|||
password_confirmation: "123qweASD",
|
||||
confirmed_at: Time.current,
|
||||
admin: true)
|
||||
|
||||
Conference.create(
|
||||
title: "TestFest",
|
||||
email: "foo@example.com",
|
||||
host_name: "clarion.openfest.test",
|
||||
description: "Test Conference",
|
||||
start_date: Date.today,
|
||||
end_date: Date.today,
|
||||
planned_cfp_end_date: Date.today.prev_day
|
||||
)
|
Loading…
Reference in New Issue