update data model

This commit is contained in:
2017-02-01 17:52:16 +01:00
parent 616fd63bfc
commit 48a912f04b
3 changed files with 10 additions and 7 deletions

View File

@@ -1,9 +1,10 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-01 12:48
# Generated by Django 1.10.5 on 2017-02-01 17:49
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
@@ -16,7 +17,8 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Client',
fields=[
('id', models.UUIDField(editable=False, primary_key=True, serialize=False)),
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('uuid', models.UUIDField(default=uuid.uuid4, unique=True)),
('desk1_enable', models.BooleanField()),
('desk1_name', models.CharField(blank=True, max_length=32, null=True)),
('desk1_prize_nt', models.DecimalField(blank=True, decimal_places=2, max_digits=4, null=True)),