How to add attribute to db table


#1

Hi there:
Recently I’m learning to develop ManageIQ,But I’m confused of how to add attribute to db table or how to generate db tables after define a class.
eg:
physical_servers:image

I want to add a attribute of “cmcc” to the table,I change the Physical_server.rb like this.`

Then I run it again,but it just dosen’t work!

Can anyone help me?


#2

resolved


#3

Pls. share your findings: others may find them useful.