31 lines
1.3 KiB
Python
31 lines
1.3 KiB
Python
|
# Generated by Django 2.1.5 on 2019-01-19 09:12
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('manager', '0036_auto_20190119_0829'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='WifiLog',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('objid', models.CharField(max_length=64, verbose_name='Wifi Name')),
|
||
|
('user', models.CharField(max_length=128, null=True, verbose_name='User Name')),
|
||
|
('date', models.DateTimeField(auto_now_add=True, verbose_name='Action Date')),
|
||
|
('action', models.IntegerField(choices=[(0, 'ADD'), (1, 'REMOVE'), (2, 'NAME'), (3, 'SSID'), (4, 'KEY'), (5, 'ORGA')], verbose_name='Action')),
|
||
|
('oldvalue', models.CharField(blank=True, max_length=256, null=True, verbose_name='Old Value')),
|
||
|
('newvalue', models.CharField(blank=True, max_length=256, null=True, verbose_name='New Value')),
|
||
|
],
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='device',
|
||
|
name='wifi',
|
||
|
field=models.ManyToManyField(blank=True, to='manager.Wifi'),
|
||
|
),
|
||
|
]
|