db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: Working with BasePeer extensions
Date Sun, 08 Feb 2009 14:47:21 GMT
Youngho wrote:
> I used torque with MySQL for a long time ago, so far I used IdBroker.
> Now I would like to change defaultIdMethod="native" from using "idbroker"
> But I don't know how to migrate my database.
> Is there any document for describing the migration step ?

Something like
- "alter table <yourtable> modify <your_primary_colum> auto_increment"
- Change idMethod from idBroker to native
- Add autoIncrement="true" to the primary columns of your schema

Bye, Thomas.

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

View raw message