Remise en place de quelques données de test pour une éventuelle nouvelle instance
This commit is contained in:
parent
3e43861323
commit
e68dbedc50
10
db/seeds.rb
10
db/seeds.rb
@ -10,11 +10,11 @@
|
||||
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
||||
# Mayor.create(name: 'Emanuel', city: cities.first)
|
||||
|
||||
# City.create name: 'Rennes'
|
||||
# Region.create name: 'Bretagne'
|
||||
# Region.create name: 'My very first region'
|
||||
# User.create login: 'admin@example.com', email: 'admin@example.com',
|
||||
# password: 'password'
|
||||
City.create name: 'Rennes'
|
||||
Region.create name: 'Bretagne'
|
||||
Region.create name: 'My very first region'
|
||||
User.create login: 'admin@example.com', email: 'admin@example.com',
|
||||
password: 'password'
|
||||
|
||||
AdminUser.create email: 'admin@example.com', password: 'password'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user