Fixed #31477 -- Removed "using" argument from DatabaseOperations.execute_sql_flush().

This commit is contained in:
Jon Dufresne 2020-04-19 22:49:35 -07:00 committed by GitHub
parent 661e39c8d5
commit 5673d4b102
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 5 deletions

View file

@ -162,7 +162,7 @@ class LongNameTest(TransactionTestCase):
VLM_m2m._meta.db_table,
]
sql_list = connection.ops.sql_flush(no_style(), tables, reset_sequences=True)
connection.ops.execute_sql_flush(connection.alias, sql_list)
connection.ops.execute_sql_flush(sql_list)
class SequenceResetTest(TestCase):