mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 14:29:25 +08:00
27 lines
866 B
Python
27 lines
866 B
Python
# Generated by Django 4.2.3 on 2023-07-09 10:57
|
|
|
|
from django.conf import settings
|
|
import django.contrib.gis.db.models.fields
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('accounts', '0002_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)),
|
|
('location', django.contrib.gis.db.models.fields.PointField(blank=True, null=True, srid=4326)),
|
|
('active', models.BooleanField(default=False)),
|
|
('timestamp', models.DateField(auto_now_add=True)),
|
|
],
|
|
),
|
|
]
|