88 lines
3.5 KiB
Python
88 lines
3.5 KiB
Python
# Generated by Django 2.1.5 on 2019-01-23 00:38
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='DataBool',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('data', models.BooleanField(default=False)),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='DataDate',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('data', models.DateField(blank=True, null=True)),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='DataDecimal',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('data', models.DecimalField(blank=True, decimal_places=2, max_digits=9, null=True)),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='DataFile',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('data', models.FileField(blank=True, null=True, upload_to='')),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='DataInteger',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('data', models.IntegerField(blank=True, null=True)),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='DataString',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('data', models.TextField(default='')),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='Field',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('label', models.CharField(max_length=256)),
|
|
('number', models.IntegerField()),
|
|
('type', models.CharField(max_length=128)),
|
|
('completed', models.BooleanField(default=False)),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='Report',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('title', models.CharField(max_length=128)),
|
|
('date_created', models.DateTimeField(verbose_name='date created')),
|
|
('date_submitted', models.DateTimeField(blank=True, null=True, verbose_name='date submitted')),
|
|
('submitted', models.BooleanField(default=False)),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='Section',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('completed', models.BooleanField()),
|
|
('title', models.CharField(max_length=256)),
|
|
('html_description', models.TextField()),
|
|
('number', models.IntegerField()),
|
|
('report_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='backend.Report')),
|
|
],
|
|
),
|
|
]
|