implement asynchronous rake task for collect contact data from csv

This commit is contained in:
Oleg Hasjanov 2021-06-17 11:06:57 +03:00
parent cf450d373a
commit aaaae888bf
5 changed files with 92 additions and 3 deletions

View file

@ -0,0 +1,11 @@
class CreateBusinessRegistryContacts < ActiveRecord::Migration[6.1]
def change
create_table :business_registry_contacts do |t|
t.string :name
t.string :registry_code
t.string :status
t.timestamps
end
end
end