diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-06-20 08:17:19 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-06-20 08:17:19 +0000 |
commit | 638dbbea95559852d00b4fe149a0ce19cd6c41d8 (patch) | |
tree | 25e2a0c3f2d3c68a428bf45ae01c662d7bae8275 /db | |
parent | d915e71d0fef4b7aac14ce37c7c4298b49e9ef8a (diff) | |
download | redmine-638dbbea95559852d00b4fe149a0ce19cd6c41d8.tar.gz redmine-638dbbea95559852d00b4fe149a0ce19cd6c41d8.zip |
Support external ID when importing issues (#28213).
Patch by Gregor Schmidt and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18285 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-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 |