Browse Source

Time zone

pull/580/head
baarkerlounger 3 years ago
parent
commit
c1f951d47c
  1. 6
      db/seeds.rb

6
db/seeds.rb

@ -31,7 +31,7 @@ if Rails.env.development? && User.count.zero?
password: "password", password: "password",
organisation: org, organisation: org,
role: "data_provider", role: "data_provider",
confirmed_at: Time.now.utc, confirmed_at: Time.zone.now,
) )
User.create!( User.create!(
@ -39,7 +39,7 @@ if Rails.env.development? && User.count.zero?
password: "password", password: "password",
organisation: org, organisation: org,
role: "data_coordinator", role: "data_coordinator",
confirmed_at: Time.now.utc, confirmed_at: Time.zone.now,
) )
User.create!( User.create!(
@ -47,7 +47,7 @@ if Rails.env.development? && User.count.zero?
password: "password", password: "password",
organisation: org, organisation: org,
role: "support", role: "support",
confirmed_at: Time.now.utc, confirmed_at: Time.zone.now,
) )
pp "Seeded 3 dummy users" pp "Seeded 3 dummy users"

Loading…
Cancel
Save