Refactored and fixed seeds to work with gitlab-shell
This commit is contained in:
parent
152f87864c
commit
38985390b0
11 changed files with 14 additions and 24 deletions
11
db/fixtures/development/01_admin.rb
Normal file
11
db/fixtures/development/01_admin.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
User.seed(:id, [
|
||||
{
|
||||
id: 1,
|
||||
name: "Administrator",
|
||||
email: "admin@local.host",
|
||||
username: 'root',
|
||||
password: "5iveL!fe",
|
||||
password_confirmation: "5iveL!fe",
|
||||
admin: true,
|
||||
}
|
||||
])
|
Loading…
Add table
Add a link
Reference in a new issue