mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +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)
|
||||
end
|
||||
|
||||
puts "-----> Creating accounts numbers"
|
||||
|
||||
Registrar.all.each do |x|
|
||||
next if x.cash_account
|
||||
x.accounts.create(account_type: Account::CASH, currency: 'EUR')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue