2023-07-09 19:00:47 +08:00
|
|
|
# Generated by Django 4.2.3 on 2023-07-09 10:57
|
2023-06-26 22:06:05 +08:00
|
|
|
|
|
|
|
from django.conf import settings
|
2023-07-09 19:00:47 +08:00
|
|
|
import django.contrib.gis.db.models.fields
|
2023-06-26 22:06:05 +08:00
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
dependencies = [
|
2023-06-28 00:49:11 +08:00
|
|
|
('accounts', '0002_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-07-09 19:00:47 +08:00
|
|
|
('location', django.contrib.gis.db.models.fields.PointField(blank=True, null=True, srid=4326)),
|
2023-06-27 13:40:31 +08:00
|
|
|
('active', models.BooleanField(default=False)),
|
2023-06-26 22:06:05 +08:00
|
|
|
('timestamp', models.DateField(auto_now_add=True)),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|