|
@@ -1,12 +1,11 @@
|
|
|
# -*- coding: utf-8 -*-
|
|
|
-# Generated by Django 1.11 on 2018-03-01 13:35
|
|
|
+# Generated by Django 1.11 on 2018-03-02 11:51
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
import django.contrib.auth.models
|
|
|
import django.contrib.auth.validators
|
|
|
from django.db import migrations, models
|
|
|
import django.utils.timezone
|
|
|
-import uuid
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
@@ -21,6 +20,7 @@ class Migration(migrations.Migration):
|
|
|
migrations.CreateModel(
|
|
|
name='User',
|
|
|
fields=[
|
|
|
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
('password', models.CharField(max_length=128, verbose_name='password')),
|
|
|
('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')),
|
|
|
('is_superuser', models.BooleanField(default=False, help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')),
|
|
@@ -31,7 +31,6 @@ class Migration(migrations.Migration):
|
|
|
('is_staff', models.BooleanField(default=False, help_text='Designates whether the user can log into this admin site.', verbose_name='staff status')),
|
|
|
('is_active', models.BooleanField(default=True, help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', verbose_name='active')),
|
|
|
('date_joined', models.DateTimeField(default=django.utils.timezone.now, verbose_name='date joined')),
|
|
|
- ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
|
('groups', models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')),
|
|
|
('user_permissions', models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')),
|
|
|
],
|
|
@@ -47,7 +46,7 @@ class Migration(migrations.Migration):
|
|
|
migrations.CreateModel(
|
|
|
name='Request',
|
|
|
fields=[
|
|
|
- ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
|
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
('name', models.CharField(max_length=35)),
|
|
|
('create_at', models.DateTimeField(auto_now_add=True)),
|
|
|
('update_at', models.DateTimeField(auto_now=True)),
|
|
@@ -60,7 +59,7 @@ class Migration(migrations.Migration):
|
|
|
migrations.CreateModel(
|
|
|
name='Task',
|
|
|
fields=[
|
|
|
- ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
|
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
('name', models.CharField(max_length=35)),
|
|
|
('create_at', models.DateTimeField(auto_now_add=True)),
|
|
|
('update_at', models.DateTimeField(auto_now=True)),
|