SmartPicasso/rest-app/smartpicasso/app/user/migrations/0001_initial.py

33 lines
1.0 KiB
Python
Raw Normal View History

2020-11-30 22:17:41 +01:00
# Generated by Django 3.1.3 on 2020-11-30 21:16
from django.db import migrations, models
import uuid
class Migration(migrations.Migration):
atomic = False
2020-11-30 22:17:41 +01:00
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='User',
fields=[
('password', models.CharField(max_length=128, verbose_name='password')),
('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')),
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('email', models.EmailField(max_length=255, unique=True, verbose_name='email address')),
('is_active', models.BooleanField(default=True)),
('is_staff', models.BooleanField(default=False)),
('is_superuser', models.BooleanField(default=False)),
],
options={
'db_table': 'login',
},
),
]