add message model and migration

This commit is contained in:
bijan
2022-05-12 19:44:54 +04:30
parent a6721fed75
commit 0185ac276c
7 changed files with 67 additions and 3 deletions

View File

@ -5,5 +5,7 @@
#
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
# Character.create(name: 'Luke', movie: movies.first)
AdminUser.create!(email: 'admin@example.com', password: 'password', password_confirmation: 'password') if Rails.env.development?
AdminUser.create!(email: 'bijan@example.com', password: '1234567890', password_confirmation: '1234567890') if Rails.env.development?
if Rails.env.development?
AdminUser.create!(email: 'admin@example.com', password: 'password', password_confirmation: 'password')
AdminUser.create!(email: 'bijan@example.com', password: '1234567890', password_confirmation: '1234567890')
end