43 lines
1.3 KiB
Python
43 lines
1.3 KiB
Python
# Generated by Django 5.1.4 on 2025-01-16 06:52
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("app", "0010_staff_group_student_group_teacher_group"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="FeedBackStudent",
|
|
fields=[
|
|
("id", models.AutoField(primary_key=True, serialize=False)),
|
|
("feedback", models.TextField()),
|
|
("feedback_reply", models.TextField()),
|
|
(
|
|
"student_id",
|
|
models.ForeignKey(
|
|
on_delete=django.db.models.deletion.CASCADE, to="app.student"
|
|
),
|
|
),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name="FeedBackTeacher",
|
|
fields=[
|
|
("id", models.AutoField(primary_key=True, serialize=False)),
|
|
("feedback", models.TextField()),
|
|
("feedback_reply", models.TextField()),
|
|
(
|
|
"staff_id",
|
|
models.ForeignKey(
|
|
on_delete=django.db.models.deletion.CASCADE, to="app.teacher"
|
|
),
|
|
),
|
|
],
|
|
),
|
|
]
|