magnum/magnum/db/sqlalchemy
Eli Qiao c82da08946 Allow update baymodel's public field even if referenced
Allow update baymodel's public field to be True even if referenced by bays,
User case is one operator wants to share this baymodel to others but doesn't
want to delete the referenced bay.

Please note we only allow to update public to be True case. In case of
True->False, this may lead bays lost baymodel, so don't do this.

Closes-Bug: #1557943
Change-Id: Ia08a2e9611de3559c5cec4eee832bade1f9af09e
2016-03-23 11:59:30 +08:00
..
alembic Remove unused attribute "ssh_authorized_key" 2016-02-28 15:33:56 -05:00
__init__.py Copy Ironic's database model codebase 2014-12-02 15:04:31 -07:00
alembic.ini Copy Ironic's database model codebase 2014-12-02 15:04:31 -07:00
api.py Allow update baymodel's public field even if referenced 2016-03-23 11:59:30 +08:00
migration.py Unify using of migration tools 2015-08-26 17:54:14 +09:00
models.py Remove unused attribute "ssh_authorized_key" 2016-02-28 15:33:56 -05:00