subunit2sql/subunit2sql/migrations/versions
Trevor McCasland 37fc3f5f38 Fix mysql db api
By default the multiline option for the db api was included in
PyMySql<0.8 but now that it is removed[1] we need to pass in the
multi=True argument to the cursor to maintain the same execution
behavior. Unfortunately, I wasn't sure on how to do that
so I modified the op.execute method to run the sql commands one
line at a time instead. It seems to work for the test cases.

[1]c0aa317940

Change-Id: If139f0941562b7a792d813b5e23a47eb92487304
Story: 2001420
2017-12-21 15:10:30 -06:00
..
1f92cfe8a6d3_create_runs_table.py Fix typo setting mysql engine 2014-06-20 15:30:57 -04:00
1ff737bef438_add_indexes_on_common_search_fields.py Fix issues in migration 1ff737bef438 2015-08-07 11:12:47 -04:00
2fb76f1a1393_rename_test_id_column_in_test_metadata_.py Add migration to fix wrong column name in test_metadata 2015-09-23 22:32:08 -04:00
3db7b49816d5_create_test_runs_table.py flake8 clean checkpoint 2014-06-13 21:50:22 -04:00
4ca26dac400e_create_metadata_tables.py Fix DB bugs found testing with mysql 2014-06-20 18:11:27 -04:00
5ef013efbc2_create_tests_tables.py Make DB path work 2014-06-14 12:54:16 -04:00
10a2b6d4b06e_add_even_more_indexes.py Add a migration for another set of index creations 2015-12-02 16:10:49 -05:00
13d819bbb0ff_create_missing_indexes.py Fix for sqlite support on migrations 2015-09-16 20:11:38 -03:00
28ac1ba9c3db_add_run_order_column.py Add order column to runs table 2014-10-06 22:30:44 +00:00
35cd45895e56_add_missing_fk_indexes.py Add migration for adding missing indexes 2015-11-30 17:26:11 -05:00
163fd5aa1380_create_avg_runtime_column_in_test_table.py Add support for keeping a moving avg of test run_time 2014-06-16 16:59:35 -04:00
487f279b8c78_add_attachments_table.py Add attachemnts table to database 2015-05-28 11:25:01 -04:00
1679b5bc102c_add_subsecond_columns_to_test_runs_table.mysql_upgrade.sql Hard code the sql for mysql on migration 1679b5bc102 2015-03-16 21:42:50 +00:00
1679b5bc102c_add_subsecond_columns_to_test_runs_table.py Fix mysql db api 2017-12-21 15:10:30 -06:00
2822a408bdd0_uuid_to_integer_ids.py Fix the subunit2sql migration and tests error with mysql 5.7 2016-08-09 18:55:42 +08:00
5332fe255095_populate_run_time_for_existing_tests.py Stop using implict joins 2016-01-02 15:48:34 -05:00
b96122f780_cleanup_and_improve_indexes.py Add migration to cleanup and add additional indexes 2015-10-14 17:05:27 -04:00