diff --git a/db/seeds.rb b/db/seeds.rb index 25fcb79af..1a0a9c079 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -7,4 +7,7 @@ end %w(rosa_system iso_worker_1 file_store).each do |uname| user = User.new uname: uname, email: "#{uname}@rosalinux.ru", password: SecureRandom.base64 user.confirmed_at, user.role = Time.now.utc, 'system'; user.save -end \ No newline at end of file +end + +admin = User.new uname: 'admin', email: 'admin@rosalinux.ru', password: 'qwerty' +admin.confirmed_at, admin.role = Time.now.utc, 'admin'; admin.save \ No newline at end of file