28 lines
966 B
Python
28 lines
966 B
Python
|
# Generated by Django 2.1.5 on 2019-01-24 10:22
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('manager', '0037_auto_20190119_0912'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Notification',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('status', models.IntegerField(choices=[(0, 'NOTICE'), (1, 'ALERT'), (2, 'EMERGENCY')], verbose_name='Status')),
|
||
|
('text', models.CharField(max_length=1024, verbose_name='Notification Text')),
|
||
|
('expiry', models.DateTimeField(blank=True, null=True, verbose_name='Notification Expiry')),
|
||
|
],
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='device',
|
||
|
name='wifi',
|
||
|
field=models.ManyToManyField(blank=True, to='manager.Wifi'),
|
||
|
),
|
||
|
]
|