]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Convert RunSQL migration commands from list to strings
authorDaniel Axtens <dja@axtens.net>
Tue, 9 Aug 2016 04:55:19 +0000 (14:55 +1000)
committerStephen Finucane <stephenfinucane@hotmail.com>
Sun, 21 Aug 2016 15:59:55 +0000 (16:59 +0100)
commitf2fdd1cad4f8af9563814d601d868cb720c83e1c
tree59b96c74640ed18848ca369b2aac3882f4fbaa1e
parentd68f1654f0ac7ccffe0ca425e30301bbe302995e
Convert RunSQL migration commands from list to strings

The ability to use a list was added in Django 1.8 - compare

https://docs.djangoproject.com/en/1.7/ref/migration-operations/#runsql
https://docs.djangoproject.com/en/1.8/ref/migration-operations/#runsql

We don't need a list as we run only 1 SQL command. So convert to
strings. This helps unbreak Django 1.7.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Stephen Finucane <stephenfinucane@hotmail.com>
patchwork/migrations/0010_migrate_data_from_submission_to_patch.py