dataquest-dev / dspace-import

Blackbox tests for dspace repository
Other
0 stars 2 forks source link

UFAL/PY-Copy and set all sequence values from version 5 to version 7 #90

Closed milanmajchrak closed 1 year ago

milanmajchrak commented 1 year ago

Problem description

After the migration: Get all sequences from the old CLARIN database (5) and copy them into the new CLARIN (7) database.

Command to get all sequences: SELECT * FROM information_schema.sequences Command to get sequence value: SELECT nextval(''); Command to set sequence value: SELECT setval('', )