# Generated by Django 2.2.3 on 2019-08-05 14:52
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
[docs]
class Migration(migrations.Migration):
initial = True
dependencies = [
("query_state_save", "0002_auto_20190205_0736"),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name="UserQuery",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("name", models.CharField(max_length=256)),
("description", models.CharField(max_length=1024)),
(
"query",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
to="query_state_save.QueryState",
),
),
(
"user",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
to=settings.AUTH_USER_MODEL,
),
),
],
),
]