[Openstack] Adding a new column to a table.
wingwj at gmail.com
Mon Sep 2 09:27:29 UTC 2013
My approach is to create a file with successive number in dir
"\nova\db\sqlalchemy\migrate_repo\versions\" , and realize it according to
And later, execute "nova-manage db sync", the new table will be available.
Please take it as your reference~
On Mon, Sep 2, 2013 at 5:01 PM, Peeyush Gupta <gpeeyush at ymail.com> wrote:
> I have been trying to add a new column to compute_nodes table.
> I understand the table is defined at db.sqlalchemy.models.py. So,
> I added a new field in the file and restarted the nova-compute process.
> But, there is no change in the table. What am I doing wrong? Where
> should I make changes to add the column?
> P.S: I am using devstack on Ubuntu 12.04 LTS
> ~Peeyush Gupta
> Mailing list:
> Post to : openstack at lists.openstack.org
> Unsubscribe :
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack