1
0
mirror of https://github.com/daniviga/bite.git synced 2024-12-25 17:41:23 +01:00
bite/freedcs/api/migrations/0001_initial.py

34 lines
1.1 KiB
Python
Raw Normal View History

2020-06-02 00:57:20 +02:00
# 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)),
],
),
]