IDDRS_API/data_api/migrations/0001_initial.py
2023-11-20 15:31:13 +01:00

35 lines
1.2 KiB
Python

# Generated by Django 4.1.3 on 2023-11-03 09:07
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Levels',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('levelTitle', models.CharField(max_length=200)),
('levelColor', models.CharField(max_length=200)),
('levelNumber', models.IntegerField()),
],
),
migrations.CreateModel(
name='Standards',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('standardFile', models.FileField(blank=True, null=True, upload_to='')),
('standardTitle', models.CharField(max_length=200)),
('standardPath', models.CharField(blank=True, max_length=200, null=True)),
('levelID', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='data_api.levels')),
],
),
]