How to add attribute to db table

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.

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?


1 Like

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