mirror of
https://github.com/internetee/registry.git
synced 2025-05-20 19:29:39 +02:00
Added registrar code to seeds
This commit is contained in:
parent
2e4bf0ee6e
commit
6bded6bc80
1 changed files with 6 additions and 3 deletions
|
@ -9,7 +9,8 @@ registrar1 = Registrar.where(
|
|||
state: 'Harju maakond',
|
||||
zip: '11415',
|
||||
email: 'registrar1@example.com',
|
||||
country_code: 'EE'
|
||||
country_code: 'EE',
|
||||
code: 'REG1'
|
||||
).first_or_create!
|
||||
|
||||
ApiUser.where(
|
||||
|
@ -28,7 +29,8 @@ registrar2 = Registrar.where(
|
|||
state: 'Harju maakond',
|
||||
zip: '11315',
|
||||
email: 'registrar2@example.com',
|
||||
country_code: 'EE'
|
||||
country_code: 'EE',
|
||||
code: 'REG2'
|
||||
).first_or_create!
|
||||
|
||||
ApiUser.where(
|
||||
|
@ -102,5 +104,6 @@ Registrar.where(
|
|||
city: 'Tallinn',
|
||||
street: 'Paldiski mnt 80',
|
||||
zip: '10617',
|
||||
url: 'www.internet.ee'
|
||||
url: 'www.internet.ee',
|
||||
code: 'EIS'
|
||||
).first_or_create!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue