magnum/magnum/db
Spyros Trigazis bcf771bc6f Do not create constraints for boolean fields
On mysql 8, Boolean fields create constraints which later
make it impossible to alter the name of the column.
See: https://github.com/sqlalchemy/alembic/issues/699

Per upstream alembic recommendation, do not create constraints
explicitly.
https://github.com/sqlalchemy/alembic/issues/699#issuecomment-760983057

story: 2008488
task: 41537

Change-Id: I51659c6e179d7e4e2cfc5be46348fac483d76e3b
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2021-02-04 19:35:38 +01:00
..
sqlalchemy Do not create constraints for boolean fields 2021-02-04 19:35:38 +01:00
__init__.py Centralize config option: database section 2016-09-22 05:57:01 +00:00
api.py ng-6: Add new fields to nodegroup objects 2019-09-25 12:26:00 +00:00
migration.py Centralize config option: database section 2016-09-22 05:57:01 +00:00