Rewrite import feature (#21054)
This commit is contained in:
parent
0ad2413b35
commit
32a030dd74
40 changed files with 2059 additions and 113 deletions
12
db/migrate/20230330140036_create_bulk_import_rows.rb
Normal file
12
db/migrate/20230330140036_create_bulk_import_rows.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class CreateBulkImportRows < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
create_table :bulk_import_rows do |t|
|
||||
t.references :bulk_import, null: false, foreign_key: { on_delete: :cascade }
|
||||
t.jsonb :data
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue