From 5ba2709a8e8933f2445a5942e3a5eb72e225d597 Mon Sep 17 00:00:00 2001 From: Ivaylo Markov Date: Thu, 5 Nov 2020 21:13:32 +0200 Subject: [PATCH] Add example conference on DB seed --- db/seeds.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/db/seeds.rb b/db/seeds.rb index 3af6183..c16db2e 100644 --- a/db/seeds.rb +++ b/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 +) \ No newline at end of file