feat: Add bulk imports API for contacts (#1724)

This commit is contained in:
Sojan Jose
2021-02-03 19:24:51 +05:30
committed by GitHub
parent 7748e0c56e
commit c61edff189
20 changed files with 278 additions and 14 deletions

View File

@@ -0,0 +1,14 @@
class CreateDataImports < ActiveRecord::Migration[6.0]
def change
create_table :data_imports do |t|
t.references :account, null: false, foreign_key: true
t.string :data_type, null: false
t.integer :status, null: false, default: 0
t.text :processing_errors
t.integer :total_records
t.integer :processed_records
t.timestamps
end
end
end