db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Eade <se...@backstagetech.com.au>
Subject Re: torque table schema- how to alter existing table
Date Wed, 22 Sep 2004 00:44:17 GMT
Ajitesh Das wrote:

>I like to know if anybody who uses Torque platform in his product has
>anything on object model migration from old release to new release. This
>seems to be a missing piece in Torque project. Am I missing something? 
>Example Scenario:
>I have an existing application that uses Torque as OR platform contains
>a set of business objects. 
>In this new release, we are altering the definition of business object
>by adding new fields for some objects and deleting some fields for
>others. I would like to know how other users are handling the two
>situations: (a) When you add a new field to an existing object and (b)
>when you delete a field in an existing object. So that the old data can
>be kept and properly defaulted. 
>Do Torque supports the "table alter"? 
>I have searched the Wiki ,docs and mail archive but could not find any
>recommendation/reference from the Torque developers/gurus or reference
>to some design patterns. 
Torque does not support this.

As I enhance my applications for a new release I manually craft a 
database migration script to make the necessary table changes.  I still 
use Torque to regenerate the om layer, but maintenance of the database 
structure is done manually.


Scott Eade
Backstage Technologies Pty. Ltd.

To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message