Thanks eOne! :)

On Tue, Apr 14, 2015 at 1:03 AM, Ivan Kolodyazhny <e...@e0ne.info> wrote:

> Hi Deepak,
>
> Your steps look good for e except #3.1 - add unit-tests for new migrations
>
> Regards,
> Ivan Kolodyazhny
>
> On Mon, Apr 13, 2015 at 8:20 PM, Deepak Shetty <dpkshe...@gmail.com>
> wrote:
>
>> 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
>> cinder/db/sqlalchemy/migrate_repo/versions
>>
>> 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 ?
>>
>> thanx,
>> deepak
>>
>> __________________________________________________________________________
>> 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
>>
>>
>
> __________________________________________________________________________
> 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
>
>
__________________________________________________________________________
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