chore: update admin user creation for seeds
- Remove environment condition for admin user creation This change simplifies the admin user creation in the seeds file by removing the conditional check for the development environment. As a result, the admin user will be created regardless of the environment, which may need to be addressed to avoid unintended consequences in production setups.
This commit is contained in:
parent
a6cea6b80d
commit
f74f34ce82
@ -8,7 +8,7 @@
|
||||
# MovieGenre.find_or_create_by!(name: genre_name)
|
||||
# end
|
||||
# AdminUser.create!(email: 'admin@example.com', password: 'password', password_confirmation: 'password') if Rails.env.development?
|
||||
AdminUser.create!(email: 'admin@example.com', password: 'password', password_confirmation: 'password') if Rails.env.development?
|
||||
AdminUser.create!(email: 'admin@example.com', password: 'password', password_confirmation: 'password')
|
||||
|
||||
WeatherArt.delete_all
|
||||
City.delete_all
|
||||
|
Loading…
Reference in New Issue
Block a user