mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #29198 -- Fixed migrate --plan crash if RunSQL uses a list or tuple.
Also fixed test failures if sqlparse isn't installed.
This commit is contained in:
parent
c99d379f53
commit
495abe0095
4 changed files with 28 additions and 20 deletions
|
@ -15,5 +15,5 @@ class Migration(migrations.Migration):
|
|||
('id', models.AutoField(primary_key=True)),
|
||||
],
|
||||
),
|
||||
migrations.RunSQL('SELECT * FROM migrations_author', 'SELECT * FROM migrations_book')
|
||||
migrations.RunSQL(['SELECT * FROM migrations_author'], ['SELECT * FROM migrations_book'])
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue