diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20190510070108_add_unique_id_to_import_items.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20190510070108_add_unique_id_to_import_items.rb b/db/migrate/20190510070108_add_unique_id_to_import_items.rb new file mode 100644 index 000000000..d1b423692 --- /dev/null +++ b/db/migrate/20190510070108_add_unique_id_to_import_items.rb @@ -0,0 +1,8 @@ +class AddUniqueIdToImportItems < ActiveRecord::Migration[5.2] + def change + change_table :import_items do |t| + t.string "unique_id" + t.index ["import_id", "unique_id"] + end + end +end |