Add example conference on DB seed

This commit is contained in:
Ivaylo Markov 2020-11-05 21:13:32 +02:00
parent 6386ae6db9
commit 5ba2709a8e
1 changed files with 10 additions and 0 deletions

View File

@ -10,3 +10,13 @@ User.create(email: "foo@example.com",
password_confirmation: "123qweASD", password_confirmation: "123qweASD",
confirmed_at: Time.current, confirmed_at: Time.current,
admin: true) 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
)