# Generated by Django 2.1.5 on 2019-02-10 16:31

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Galery',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('image', models.ImageField(blank=True, default='', null=True, upload_to='person_photo')),
            ],
            options={
                'verbose_name': 'Галерея',
                'verbose_name_plural': 'Галереи',
            },
        ),
        migrations.CreateModel(
            name='Person',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('first_name', models.CharField(max_length=100, null=True, verbose_name='Имя')),
                ('second_name', models.CharField(max_length=100, null=True, verbose_name='Фамилия')),
                ('third_name', models.CharField(max_length=100, null=True, verbose_name='Отчество')),
                ('birthday', models.DateField(blank=True, null=True, verbose_name='Дата рождения')),
                ('sms_mes', models.CharField(blank=True, max_length=100, null=True, verbose_name='Сообщение')),
                ('users', models.OneToOneField(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='personshop', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'verbose_name': 'Человек',
                'verbose_name_plural': 'Люди',
            },
        ),
        migrations.AddField(
            model_name='galery',
            name='person',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='galery', to='registration.Person'),
        ),
    ]

04c8063b4a6544cdc552369f5345fd0e09d29f3d
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [migrations.swappable_dependency(settings.AUTH_USER_MODEL)]
    operations = [migrations.CreateModel(name='Galery', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('image', models.ImageField(blank=True,
        default='', null=True, upload_to='person_photo'))], options={
        'verbose_name': 'Галерея', 'verbose_name_plural': 'Галереи'}),
        migrations.CreateModel(name='Person', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('first_name', models.CharField(max_length=100,
        null=True, verbose_name='Имя')), ('second_name', models.CharField(
        max_length=100, null=True, verbose_name='Фамилия')), ('third_name',
        models.CharField(max_length=100, null=True, verbose_name='Отчество'
        )), ('birthday', models.DateField(blank=True, null=True,
        verbose_name='Дата рождения')), ('sms_mes', models.CharField(blank=
        True, max_length=100, null=True, verbose_name='Сообщение')), (
        'users', models.OneToOneField(null=True, on_delete=django.db.models
        .deletion.CASCADE, related_name='personshop', to=settings.
        AUTH_USER_MODEL))], options={'verbose_name': 'Человек',
        'verbose_name_plural': 'Люди'}), migrations.AddField(model_name=
        'galery', name='person', field=models.ForeignKey(null=True,
        on_delete=django.db.models.deletion.CASCADE, related_name='galery',
        to='registration.Person'))]

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):
    initial = True
    dependencies = [migrations.swappable_dependency(settings.AUTH_USER_MODEL)]
    operations = [migrations.CreateModel(name='Galery', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('image', models.ImageField(blank=True,
        default='', null=True, upload_to='person_photo'))], options={
        'verbose_name': 'Галерея', 'verbose_name_plural': 'Галереи'}),
        migrations.CreateModel(name='Person', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('first_name', models.CharField(max_length=100,
        null=True, verbose_name='Имя')), ('second_name', models.CharField(
        max_length=100, null=True, verbose_name='Фамилия')), ('third_name',
        models.CharField(max_length=100, null=True, verbose_name='Отчество'
        )), ('birthday', models.DateField(blank=True, null=True,
        verbose_name='Дата рождения')), ('sms_mes', models.CharField(blank=
        True, max_length=100, null=True, verbose_name='Сообщение')), (
        'users', models.OneToOneField(null=True, on_delete=django.db.models
        .deletion.CASCADE, related_name='personshop', to=settings.
        AUTH_USER_MODEL))], options={'verbose_name': 'Человек',
        'verbose_name_plural': 'Люди'}), migrations.AddField(model_name=
        'galery', name='person', field=models.ForeignKey(null=True,
        on_delete=django.db.models.deletion.CASCADE, related_name='galery',
        to='registration.Person'))]

# Generated by Django 2.1.5 on 2019-02-10 16:31

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Galery',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('image', models.ImageField(blank=True, default='', null=True, upload_to='person_photo')),
            ],
            options={
                'verbose_name': 'Галерея',
                'verbose_name_plural': 'Галереи',
            },
        ),
        migrations.CreateModel(
            name='Person',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('first_name', models.CharField(max_length=100, null=True, verbose_name='Имя')),
                ('second_name', models.CharField(max_length=100, null=True, verbose_name='Фамилия')),
                ('third_name', models.CharField(max_length=100, null=True, verbose_name='Отчество')),
                ('birthday', models.DateField(blank=True, null=True, verbose_name='Дата рождения')),
                ('sms_mes', models.CharField(blank=True, max_length=100, null=True, verbose_name='Сообщение')),
                ('users', models.OneToOneField(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='personshop', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'verbose_name': 'Человек',
                'verbose_name_plural': 'Люди',
            },
        ),
        migrations.AddField(
            model_name='galery',
            name='person',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='galery', to='registration.Person'),
        ),
    ]
