Sets default MySql engine to InnoDB
Fixes bug 1153594 Change-Id: I4a3de87a99ca2d49b6a74d7104daf47f8f421a80
This commit is contained in:
parent
86fa324e19
commit
e31d02c466
@ -19,6 +19,7 @@ from sqlalchemy import orm
|
|||||||
|
|
||||||
class QuantumBase(object):
|
class QuantumBase(object):
|
||||||
"""Base class for Quantum Models."""
|
"""Base class for Quantum Models."""
|
||||||
|
__table_args__ = {'mysql_engine': 'InnoDB'}
|
||||||
|
|
||||||
def __setitem__(self, key, value):
|
def __setitem__(self, key, value):
|
||||||
setattr(self, key, value)
|
setattr(self, key, value)
|
||||||
|
Loading…
Reference in New Issue
Block a user