Describe the bug
The implemented database backup is based on SQL scripts. It allows recovering the database without the application being up and running. However, it makes sequences get out of synch, causing issues with inserting new records due to primary-key conflicts.
To Reproduce
Steps to reproduce the behavior:
- Generate a backup file
- Create a new database and restore the backup
- Document a new table
Expected behavior
We expect sequences to be in sync with primary keys.
Describe the bug
The implemented database backup is based on SQL scripts. It allows recovering the database without the application being up and running. However, it makes sequences get out of synch, causing issues with inserting new records due to primary-key conflicts.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We expect sequences to be in sync with primary keys.