Zhi Chang <chang...@unitedstack.com> wrote:

Hi, all
    Now, I should make some database model definitions if I want to upgrade db. And a database migration 
script will generated when I run "neutron-db-manage revision -m "description of revision" 
--autogenerate". The database will upgraded when run "neutron-db-manage upgrade head".
    I want to upgrade db and I plan to write db migration scripts manually 
instead of change database model definitions. Is there some ways to realize it?

I would start by asking *why* you may want to go with manual instead of automatic generation. It’s so much easier to do it automatic way, and you won’t be bothered by classifying operations into corresponding branches.

Ihar

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to