[openstack-dev] [Cinder] Query on adding new table to cinder DB

Deepak Shetty dpkshetty at gmail.com
Mon Apr 13 17:20:54 UTC 2015

Hi Stackers,
    As part of my WIP work for implementing
https://blueprints.launchpad.net/nova/+spec/volume-snapshot-improvements I
am required to add a new table to cinder (snapshot_admin_metadata) and I
was looking for some inputs on whats are the steps to add a new table to
existing DB

>From what I know:

1) Create a new migration script at

2) Implement the upgrade and downgrade methods

3) Create your model inside cinder/db/sqlalchemy/models.py

4) Sync DB using cinder-manage db sync

Are these steps correct ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150413/119c2f4e/attachment.html>

More information about the OpenStack-dev mailing list