Sets default MySql engine to InnoDB

Fixes bug 1153594

Change-Id: I4a3de87a99ca2d49b6a74d7104daf47f8f421a80
This commit is contained in:
Gary Kotton 2013-03-11 13:46:41 +00:00
parent 86fa324e19
commit e31d02c466

View File

@ -19,6 +19,7 @@ from sqlalchemy import orm
class QuantumBase(object):
"""Base class for Quantum Models."""
__table_args__ = {'mysql_engine': 'InnoDB'}
def __setitem__(self, key, value):
setattr(self, key, value)