Added frontend/migrations/027_fix_innodb.py and
tko/migrations/021_fix_innodb.py to perform ALTER TABLE ... 
ENGINE=InnoDB on tables missing it.

Signed-off-by: Mihai Rusu <dizzy@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2858 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/migrations/027_fix_innodb.py b/frontend/migrations/027_fix_innodb.py
new file mode 100644
index 0000000..6299560
--- /dev/null
+++ b/frontend/migrations/027_fix_innodb.py
@@ -0,0 +1,11 @@
+UP_SQL = """
+ALTER TABLE autotests_dependency_labels ENGINE=InnoDB;
+ALTER TABLE jobs_dependency_labels ENGINE=InnoDB;
+"""
+
+def migrate_up(manager):
+    manager.execute_script(UP_SQL)
+
+
+def migrate_down(manager):
+    pass