Welcome to mirror list, hosted at ThFree Co, Russian Federation.

001_admin.rb « development « fixtures « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9c5a6da09e0ee3bbb154ba06f7184e507a4e4ae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Admin account
admin = User.create(
  :email => "admin@local.host",
  :name => "Administrator",
  :password => "5iveL!fe",
  :password_confirmation => "5iveL!fe"
)

admin.projects_limit = 10000
admin.admin = true
admin.save!