scinote-web/db/seeds.rb

13 lines
225 B
Ruby
Raw Normal View History

2016-02-12 23:52:43 +08:00
include UsersGenerator
# Create admin user
2016-10-13 16:12:11 +08:00
admin_password = 'inHisHouseAtRlyehDeadCthulhuWaitsDreaming'
2016-02-12 23:52:43 +08:00
create_user(
2016-10-13 16:12:11 +08:00
'Admin',
'admin@scinote.net',
2016-02-12 23:52:43 +08:00
admin_password,
true,
2017-01-31 20:33:55 +08:00
Constants::DEFAULT_PRIVATE_TEAM_NAME,
2016-02-12 23:52:43 +08:00
[]
)