1 # Generated by Django 2.2 on 2020-11-09 21:49
4 from django.db import migrations, models
5 import django.db.models.deletion
8 class Migration(migrations.Migration):
11 ('api', '0015_auto_20201109_1947'),
15 migrations.CreateModel(
16 name='ActiveUsersConfig',
18 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
24 field=models.CharField(choices=[('BOOK', 'Booking'), ('DATA', 'Analytics')], default='BOOK', max_length=4),
26 migrations.CreateModel(
27 name='ActiveUsersRelation',
29 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
30 ('status', models.IntegerField(default=0)),
31 ('task_id', models.CharField(default=api.models.get_task_uuid, max_length=37)),
32 ('lab_token', models.CharField(default='null', max_length=50)),
33 ('message', models.TextField(default='')),
34 ('config', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='api.ActiveUsersConfig')),
35 ('job', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.Job')),