It's all about the answers!

Ask a question

Removing a component from repository


Vibha Sinha (1643610) | asked Sep 03 '08, 5:28 a.m.
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

One answer



permanent link
Matt Lavin (2.7k2) | answered Sep 03 '08, 8:03 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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:
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

Your answer


Register or to post your answer.