30 lines
964 B
Python
30 lines
964 B
Python
|
# Generated by Django 2.1.5 on 2019-01-31 19:51
|
||
|
|
||
|
from django.conf import settings
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||
|
('manager', '0039_auto_20190124_1023'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='UserStatus',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('last_action', models.DateTimeField(blank=True, null=True)),
|
||
|
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
||
|
],
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='device',
|
||
|
name='wifi',
|
||
|
field=models.ManyToManyField(blank=True, to='manager.Wifi'),
|
||
|
),
|
||
|
]
|