Skip to content

Resynch database sequences after backup restore #85

Description

@htmfilho

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:

  1. Generate a backup file
  2. Create a new database and restore the backup
  3. Document a new table

Expected behavior

We expect sequences to be in sync with primary keys.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions