In the following scenario something goes wrong with inserting sequences in the DB:
- We have an empty DB
- We have a solution, with all kinds of tables, columns, and db seq’s specified (in other words, there are .dbi files)
- In this solution we’ve changed the DB sequence names
- Clicking on Synchronize DB, gives us the pop-up where we can select ‘Create All’ in order to create all the missing tables and stuff in the empty DB
- Everything gets created in the DB, but the sequences get the old names instead of the new ones…
The dbi files contain the new sequence names. So it looks like Servoy creates the sequence names (and maybe the tables too?) from another file, instead of the dbi files in the workspace.
Doing a file search on the old sequence names, we get results in the following directories:
\application_server\database\base####
\application_server\database\pg_xlog
\servoy_workspace\resources\datasources\solution.svn\text-base\example_table.dbi.svn-base
Is this a bug? And/or is there a refresh possibility in order to let Servoy know that it should update the files it does use for the Create procedure?
Using servoy 5.2.9 - build 1020