mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Add description to import script
This commit is contained in:
parent
d92e87fc81
commit
7c846c4550
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ namespace :import do
|
||||||
x.save(validate: false)
|
x.save(validate: false)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
puts "-----> Creating accounts numbers"
|
||||||
|
|
||||||
Registrar.all.each do |x|
|
Registrar.all.each do |x|
|
||||||
next if x.cash_account
|
next if x.cash_account
|
||||||
x.accounts.create(account_type: Account::CASH, currency: 'EUR')
|
x.accounts.create(account_type: Account::CASH, currency: 'EUR')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue