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

29 lines
891 B
Python
Raw Normal View History

2023-06-27 13:40:31 +08:00
# Generated by Django 4.2.2 on 2023-06-27 05:15
2023-06-26 22:06:05 +08:00
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
2023-06-27 13:40:31 +08:00
('accounts', '0001_initial'),
2023-06-26 22:06:05 +08:00
]
operations = [
migrations.CreateModel(
name='StudentStatus',
fields=[
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)),
2023-06-27 13:40:31 +08:00
('x', models.FloatField(null=True)),
('y', models.FloatField(null=True)),
('subject', models.CharField(max_length=100, null=True)),
('active', models.BooleanField(default=False)),
2023-06-26 22:06:05 +08:00
('timestamp', models.DateField(auto_now_add=True)),
],
),
]