31 lines
856 B
Python
31 lines
856 B
Python
# Generated by Django 5.1.4 on 2025-01-15 06:04
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("app", "0004_classroutine"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="Complaint",
|
|
fields=[
|
|
("id", models.AutoField(primary_key=True, serialize=False)),
|
|
("subject", models.CharField(max_length=255)),
|
|
("description", models.TextField()),
|
|
("date", models.DateField()),
|
|
(
|
|
"academic_year",
|
|
models.ForeignKey(
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
to="app.academicyear",
|
|
),
|
|
),
|
|
],
|
|
),
|
|
]
|