mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 21:46:44 +00:00
Update fix-mariadb.py
This commit is contained in:
parent
fc89178f28
commit
b5828801de
@ -138,7 +138,7 @@ class Command(BaseCommand):
|
|||||||
to_column=uuid_column_str,
|
to_column=uuid_column_str,
|
||||||
deferrable='',
|
deferrable='',
|
||||||
)
|
)
|
||||||
statement_list = list((
|
statement_list = [ f'{statement};' for statement in (
|
||||||
remove_fk,
|
remove_fk,
|
||||||
schema.sql_alter_column % dict(
|
schema.sql_alter_column % dict(
|
||||||
table=media_table_str,
|
table=media_table_str,
|
||||||
@ -162,7 +162,7 @@ class Command(BaseCommand):
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
add_fk,
|
add_fk,
|
||||||
))
|
) ]
|
||||||
pp( statement_list )
|
pp( statement_list )
|
||||||
|
|
||||||
self.stdout.write('Tables to delete:')
|
self.stdout.write('Tables to delete:')
|
||||||
|
Loading…
Reference in New Issue
Block a user