尝试修复 submission 中的竞争问题

This commit is contained in:
virusdefender
2019-03-26 09:21:00 +08:00
parent b963f2d5bc
commit 7e4132bed1
3 changed files with 46 additions and 19 deletions

View File

@@ -0,0 +1,23 @@
# Generated by Django 2.1.7 on 2019-03-26 02:01
from django.conf import settings
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('contest', '0009_auto_20180501_0436'),
]
operations = [
migrations.AlterUniqueTogether(
name='acmcontestrank',
unique_together={('user', 'contest')},
),
migrations.AlterUniqueTogether(
name='oicontestrank',
unique_together={('user', 'contest')},
),
]