From e31d02c4663bce88d7fe207406dd10204aec0329 Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Mon, 11 Mar 2013 13:46:41 +0000 Subject: [PATCH] Sets default MySql engine to InnoDB Fixes bug 1153594 Change-Id: I4a3de87a99ca2d49b6a74d7104daf47f8f421a80 --- quantum/db/model_base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/quantum/db/model_base.py b/quantum/db/model_base.py index db3b36a398..c8ceb80b12 100644 --- a/quantum/db/model_base.py +++ b/quantum/db/model_base.py @@ -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)