[openstack-dev] Adding a new column to a table.

Boris Pavlovic boris at pavlovic.ru
Mon Sep 2 13:36:10 UTC 2013


You should add also corresponding migration in:

Nova/db/sqlalchemy/migrate_repo/...



Send from my phone

02.09.2013, в 12:41, Peeyush Gupta <gpeeyush at ymail.com> написал(а):

> Hi,
> 
> 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
> 
> Thanks,	
>  
> ~Peeyush Gupta
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130902/caf4e204/attachment.html>


More information about the OpenStack-dev mailing list