We have a robust (150+ forms, 100+ tables) solution that we’re porting to another company we purchased.
We’re standardizing a lot of our data, making a need to rename tables and/or adjust columns, etc.
This is well within our expertise on the DB end, but Servoy is a hugely manual process to do this.
Is there a way change table names so that Servoy relationships/tabs and aggs / calc’s don’t die?
We can keep relationships/tabs alive and lose calcs /aggs OR vice versa, but can’t do both within Servoy’s current environment (3.5.5)
IE,
prefix_staff changed to company_staff - same columns for now.
When prefix_staff goes missing, all relationships and more have multiple problems.
Search and replace on methods are easy enough, but relationships have problems - if the table is missing and you go to edit it, no other tables show up in the drop down list - you have to REMOVE and create another.
This destroys all tabs built on the relationship.
If instead, the new table is created (externally or internally), and then forms / relationships are pointed to it, then delete the old table, it works ok EXCEPT you lose all calcs / aggs.
I’ve dug into the repository, and could generate some fun SQL to backtrack through element_id’s and properties to do a solution wide search and replace - but would rather not mess with this if possible.
Just wondering if anyone else has found a method to:
- Rename a table
- Preserve calcs / aggregates and relationships /tabs
Any ideas?
What would be a great feature is if on opening a solution, when Servoy kicks out an error for the table and relationships, it lets you POINT to another table and it re-points all the calcs / aggs and relationships.