chore: setup admin user
- Create admin user with email 'admin@example.com' and password 'password' for development environment This change allows for easier development and testing by providing a default admin user.
This commit is contained in:
parent
08c584b85b
commit
a6cea6b80d
@ -7,6 +7,7 @@
|
||||
# ["Action", "Comedy", "Drama", "Horror"].each do |genre_name|
|
||||
# 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?
|
||||
|
||||
WeatherArt.delete_all
|
||||
|
Loading…
Reference in New Issue
Block a user