mirror of
https://github.com/c0de-archive/django-gallery.git
synced 2024-10-07 21:47:38 +00:00
30 lines
906 B
Python
30 lines
906 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by Django 1.11.4 on 2018-03-09 04:52
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.conf import settings
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
import uuid
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
initial = True
|
||
|
|
||
|
dependencies = [
|
||
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Account',
|
||
|
fields=[
|
||
|
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
||
|
('first_login', models.BooleanField(default=True)),
|
||
|
('accepted_terms', models.DateTimeField(blank=True, null=True)),
|
||
|
('user', models.OneToOneField(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL)),
|
||
|
],
|
||
|
),
|
||
|
]
|