mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Rake task for making api log schema
This commit is contained in:
parent
d5a824064e
commit
7b920cac2f
6 changed files with 70 additions and 13 deletions
|
@ -41,7 +41,6 @@ User.where(
|
|||
username: 'user1',
|
||||
password: 'test1',
|
||||
email: 'user1@example.ee',
|
||||
admin: true,
|
||||
identity_code: '37810013855',
|
||||
country: Country.where(name: 'Estonia').first
|
||||
).first_or_create
|
||||
|
@ -50,9 +49,7 @@ User.where(
|
|||
username: 'user2',
|
||||
password: 'test2',
|
||||
email: 'user2@example.ee',
|
||||
admin: false,
|
||||
identity_code: '37810010085',
|
||||
registrar_id: registrar1.id,
|
||||
country: Country.where(name: 'Estonia').first
|
||||
).first_or_create
|
||||
|
||||
|
@ -60,9 +57,7 @@ User.where(
|
|||
username: 'user3',
|
||||
password: 'test3',
|
||||
email: 'user3@example.ee',
|
||||
admin: false,
|
||||
identity_code: '37810010727',
|
||||
registrar_id: registrar2.id,
|
||||
country: Country.where(name: 'Estonia').first
|
||||
).first_or_create
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue