diff --git a/db/seeds.rb b/db/seeds.rb index b56da8239..3b1395004 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -12,6 +12,8 @@ user = User.new(name: 'John', email: 'john@acme.inc', password: '123456') user.skip_confirmation! user.save! +SuperAdmin.create!(email: 'john@acme.inc', password: '123456') unless Rails.env.production? + AccountUser.create!( account_id: account.id, user_id: user.id,