mirror of
https://github.com/internetee/registry.git
synced 2025-07-12 22:18:22 +02:00
restore roles into seeds
This commit is contained in:
parent
b088d39b0e
commit
816a6e4432
1 changed files with 4 additions and 2 deletions
|
@ -19,7 +19,8 @@ registrar1 = Registrar.where(
|
||||||
password: 'password',
|
password: 'password',
|
||||||
identity_code: '51001091072',
|
identity_code: '51001091072',
|
||||||
active: true,
|
active: true,
|
||||||
registrar: registrar1
|
registrar: registrar1,
|
||||||
|
roles: ['super']
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -41,7 +42,8 @@ registrar2 = Registrar.where(
|
||||||
password: 'password',
|
password: 'password',
|
||||||
identity_code: '11412090004',
|
identity_code: '11412090004',
|
||||||
active: true,
|
active: true,
|
||||||
registrar: registrar2
|
registrar: registrar2,
|
||||||
|
roles: ['super']
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue