]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
force this to innodb to support mysqls with different
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 12 Mar 2013 19:43:20 +0000 (15:43 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 12 Mar 2013 19:43:20 +0000 (15:43 -0400)
defaults here

tests/test_autogenerate.py

index 2f541e86b49261ab35b08e8bae7f7e59c76cb9d7..7047b9e72c39ebfc56522c694e52a57f0935b15b 100644 (file)
@@ -151,6 +151,7 @@ class ImplicitConstraintNoGenTest(AutogenTest, TestCase):
         Table('someothertable', m,
             Column('id', Integer, primary_key=True),
             Column('value', Boolean()),
+            mysql_engine='InnoDB'
         )
         return m
 
@@ -199,7 +200,7 @@ class ImplicitConstraintNoGenTest(AutogenTest, TestCase):
             "autoincrement=False, nullable=True),\n"
             "    sa.PrimaryKeyConstraint('id'),\n"
             "    mysql_default_charset='utf8',\n"
-            "    mysql_engine='MyISAM'\n"
+            "    mysql_engine='InnoDB'\n"
             "    )\n"
             "    op.drop_table('sometable')\n"
             "    ### end Alembic commands ###"