Removing a component from repository
I am extending the Jazz repository.
However, anytime I make any changes to my schema I need to run repotools -createTables and then run repotools -import.
I was wondering if there is a way I can just remove the database corresponding to my component and then be able to recreate it using repotools -addTables.
addTables seems to work fine if I am installing the component the first time in the repository.
Thanks
- Vibha
However, anytime I make any changes to my schema I need to run repotools -createTables and then run repotools -import.
I was wondering if there is a way I can just remove the database corresponding to my component and then be able to recreate it using repotools -addTables.
addTables seems to work fine if I am installing the component the first time in the repository.
Thanks
- Vibha
One answer
Removing the tables of a single component is not supported in RTC 1.0.
The best way to develop a component is with a test database so that the
entire DB can be thrown away and re-created as your model changes.
Once you model has stabilized to the point that it's useful, you should
add a migration handler to migrate your production data from one model
version to another.
Matt Lavin
Jazz Server Team
vssinha wrote:
The best way to develop a component is with a test database so that the
entire DB can be thrown away and re-created as your model changes.
Once you model has stabilized to the point that it's useful, you should
add a migration handler to migrate your production data from one model
version to another.
Matt Lavin
Jazz Server Team
vssinha wrote:
I am extending the Jazz repository.
However, anytime I make any changes to my schema I need to run
repotools -createTables and then run repotools -import.
I was wondering if there is a way I can just remove the database
corresponding to my component and then be able to recreate it using
repotools -addTables.
addTables seems to work fine if I am installing the component the
first time in the repository.
Thanks
- Vibha