seeds.rb: Add registered_at to admin user to fix setup seed issue. (#16377)
This commit is contained in:
parent
8c697313df
commit
09245d41d0
1 changed files with 1 additions and 0 deletions
|
|
@ -190,6 +190,7 @@ seeder.create_if_doesnt_exist(User, "email", "admin@forem.local") do
|
|||
username: "Admin_McAdmin",
|
||||
profile_image: File.open(Rails.root.join("app/assets/images/#{rand(1..40)}.png")),
|
||||
confirmed_at: Time.current,
|
||||
registered_at: Time.current,
|
||||
password: "password",
|
||||
password_confirmation: "password",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue