Move databases/application to another workspace
Requirements
- It must be possible to choose which workspace the application must be moved to.
- The user must have
create_application
permissions in the destination workspace. - We must be sure to break all relationships with the old workspace. This must also apply to children of the database/applications like tables, views, etc. This could be:
- Database tokens
- Permissions
- A test must be introduced that can detect if new relationships are made to the database/application and will fail if they're not specifically covered in the move code.
Consider duplication instead of moving
It can become quite complicated to cover all the scenarios of moving a database/application. We must consider if this is worth to maintain that. Another solution might to duplicate/copy to another workspace.