StudE-Backend/stude/courses/migrations/0001_initial.py

23 lines
578 B
Python
Raw Permalink Normal View History

# Generated by Django 4.2.3 on 2023-09-03 09:32
2023-06-27 14:16:40 +08:00
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Course',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=64, unique=True)),
('shortname', models.CharField(max_length=16, unique=True)),
2023-06-27 18:15:31 +08:00
],
),
2023-06-27 14:16:40 +08:00
]