You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
977 B
34 lines
977 B
# Generated by Django 4.2 on 2024-10-05 17:06
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
initial = True
|
|
|
|
dependencies = []
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="Student",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.BigAutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
("name", models.CharField(max_length=32)),
|
|
("sid", models.CharField(max_length=20)),
|
|
("credit", models.FloatField()),
|
|
("class_name", models.CharField(max_length=32)),
|
|
("probability", models.FloatField()),
|
|
("max", models.FloatField()),
|
|
("min", models.FloatField()),
|
|
],
|
|
),
|
|
]
|