cqtu/contest/migrations/0010_shadowcall.py

26 lines
867 B
Python
Raw Normal View History

2017-01-25 01:53:22 +01:00
# -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2017-01-24 23:28
from __future__ import unicode_literals
import contest.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('contest', '0009_auto_20170123_0139'),
]
operations = [
migrations.CreateModel(
name='ShadowCall',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('username', models.CharField(db_index=True, max_length=20, unique=True, validators=[contest.validators.CallUsernameValidator()])),
('ref', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='contest.Reference')),
],
),
]