<filename>k8s/images/codalab/apps/queues/migrations/0001_initial.py
# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-07-16 18:50
from __future__ import unicode_literals

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django_extensions.db.fields


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Queue',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=64)),
                ('vhost', django_extensions.db.fields.UUIDField(blank=True, editable=False, unique=True)),
                ('is_public', models.BooleanField(default=False)),
                ('organizers', models.ManyToManyField(blank=True, help_text='(Organizers allowed to view this queue when they assign their competition to a queue)', null=True, related_name='organizers', to=settings.AUTH_USER_MODEL)),
                ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]

<filename>k8s/images/codalab/apps/queues/migrations/0001_initial.py
# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-07-16 18:50
from __future__ import unicode_literals

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django_extensions.db.fields


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Queue',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=64)),
                ('vhost', django_extensions.db.fields.UUIDField(blank=True, editable=False, unique=True)),
                ('is_public', models.BooleanField(default=False)),
                ('organizers', models.ManyToManyField(blank=True, help_text='(Organizers allowed to view this queue when they assign their competition to a queue)', null=True, related_name='organizers', to=settings.AUTH_USER_MODEL)),
                ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]

# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2020-07-16 18:50