mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 14:29:25 +08:00
28 lines
891 B
Python
28 lines
891 B
Python
# Generated by Django 4.2.2 on 2023-06-27 13:08
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('accounts', '0001_initial'),
|
|
]
|
|
|
|
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)),
|
|
('x', models.FloatField(null=True)),
|
|
('y', models.FloatField(null=True)),
|
|
('subject', models.CharField(max_length=100, null=True)),
|
|
('active', models.BooleanField(default=False)),
|
|
('timestamp', models.DateField(auto_now_add=True)),
|
|
],
|
|
),
|
|
]
|