Reformat using black
This commit is contained in:
parent
efee4ad081
commit
a87fb49918
221 changed files with 19127 additions and 7310 deletions
|
@ -4,16 +4,19 @@ from django.db import migrations
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('judge', '0089_submission_to_contest'),
|
||||
("judge", "0089_submission_to_contest"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RunSQL('''
|
||||
migrations.RunSQL(
|
||||
"""
|
||||
UPDATE `judge_contest`
|
||||
SET `judge_contest`.`is_private` = 0, `judge_contest`.`is_organization_private` = 1
|
||||
WHERE `judge_contest`.`is_private` = 1
|
||||
''', '''
|
||||
""",
|
||||
"""
|
||||
UPDATE `judge_contest`
|
||||
SET `judge_contest`.`is_private` = `judge_contest`.`is_organization_private`
|
||||
'''),
|
||||
""",
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue