22 lines
580 B
Python
22 lines
580 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
from django.db import models, migrations
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='PiLog',
|
||
|
fields=[
|
||
|
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
||
|
('count_inside', models.PositiveIntegerField()),
|
||
|
('count_total', models.PositiveIntegerField()),
|
||
|
('created', models.DateTimeField(auto_now_add=True)),
|
||
|
],
|
||
|
),
|
||
|
]
|