mirror of
https://github.com/daniviga/bite.git
synced 2024-11-23 21:36:14 +01:00
34 lines
1.1 KiB
Python
34 lines
1.1 KiB
Python
|
# Generated by Django 3.0.6 on 2020-06-01 14:13
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
initial = True
|
||
|
|
||
|
dependencies = [
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Device',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('serial', models.CharField(max_length=128, unique=True)),
|
||
|
('creation_time', models.DateTimeField(auto_now_add=True)),
|
||
|
('updated_time', models.DateTimeField(auto_now=True)),
|
||
|
],
|
||
|
),
|
||
|
migrations.CreateModel(
|
||
|
name='WhiteList',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('serial', models.CharField(max_length=128, unique=True)),
|
||
|
('creation_time', models.DateTimeField(auto_now_add=True)),
|
||
|
('updated_time', models.DateTimeField(auto_now=True)),
|
||
|
('is_published', models.BooleanField(default=True)),
|
||
|
],
|
||
|
),
|
||
|
]
|