# Generated by Django 2.1.7 on 2019-04-12 17:32

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='Giftcard',
            fields=[
                ('barcode', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
                ('amount', models.FloatField(default=0.0)),
                ('created', models.DateTimeField(verbose_name='Date of creation')),
                ('validity', models.DateTimeField(verbose_name='Valid until')),
            ],
        ),
        migrations.CreateModel(
            name='Participant',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('birth_date', models.DateField(blank=True, null=True)),
                ('email', models.EmailField(max_length=100)),
                ('image', models.ImageField(upload_to='')),
                ('bio', models.TextField(blank=True, max_length=500)),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='PensionEntity',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('email', models.EmailField(max_length=100)),
                ('bio', models.TextField(blank=True, max_length=500)),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.AddField(
            model_name='giftcard',
            name='issued_by',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='giftcards.PensionEntity'),
        ),
    ]

7143d82997b94e0946aca9f121491dc1712ab1cc
<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='Giftcard', fields=[(
        'barcode', models.UUIDField(default=uuid.uuid4, editable=False,
        primary_key=True, serialize=False)), ('amount', models.FloatField(
        default=0.0)), ('created', models.DateTimeField(verbose_name=
        'Date of creation')), ('validity', models.DateTimeField(
        verbose_name='Valid until'))]), migrations.CreateModel(name=
        'Participant', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), (
        'birth_date', models.DateField(blank=True, null=True)), ('email',
        models.EmailField(max_length=100)), ('image', models.ImageField(
        upload_to='')), ('bio', models.TextField(blank=True, max_length=500
        )), ('user', models.OneToOneField(on_delete=django.db.models.
        deletion.CASCADE, to=settings.AUTH_USER_MODEL))]), migrations.
        CreateModel(name='PensionEntity', fields=[('id', models.AutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('email', models.EmailField(max_length=100)), ('bio',
        models.TextField(blank=True, max_length=500)), ('user', models.
        OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=
        settings.AUTH_USER_MODEL))]), migrations.AddField(model_name=
        'giftcard', name='issued_by', field=models.ForeignKey(null=True,
        on_delete=django.db.models.deletion.CASCADE, to=
        'giftcards.PensionEntity'))]

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='Giftcard', fields=[(
        'barcode', models.UUIDField(default=uuid.uuid4, editable=False,
        primary_key=True, serialize=False)), ('amount', models.FloatField(
        default=0.0)), ('created', models.DateTimeField(verbose_name=
        'Date of creation')), ('validity', models.DateTimeField(
        verbose_name='Valid until'))]), migrations.CreateModel(name=
        'Participant', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), (
        'birth_date', models.DateField(blank=True, null=True)), ('email',
        models.EmailField(max_length=100)), ('image', models.ImageField(
        upload_to='')), ('bio', models.TextField(blank=True, max_length=500
        )), ('user', models.OneToOneField(on_delete=django.db.models.
        deletion.CASCADE, to=settings.AUTH_USER_MODEL))]), migrations.
        CreateModel(name='PensionEntity', fields=[('id', models.AutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('email', models.EmailField(max_length=100)), ('bio',
        models.TextField(blank=True, max_length=500)), ('user', models.
        OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=
        settings.AUTH_USER_MODEL))]), migrations.AddField(model_name=
        'giftcard', name='issued_by', field=models.ForeignKey(null=True,
        on_delete=django.db.models.deletion.CASCADE, to=
        'giftcards.PensionEntity'))]

# Generated by Django 2.1.7 on 2019-04-12 17:32

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='Giftcard',
            fields=[
                ('barcode', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
                ('amount', models.FloatField(default=0.0)),
                ('created', models.DateTimeField(verbose_name='Date of creation')),
                ('validity', models.DateTimeField(verbose_name='Valid until')),
            ],
        ),
        migrations.CreateModel(
            name='Participant',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('birth_date', models.DateField(blank=True, null=True)),
                ('email', models.EmailField(max_length=100)),
                ('image', models.ImageField(upload_to='')),
                ('bio', models.TextField(blank=True, max_length=500)),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='PensionEntity',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('email', models.EmailField(max_length=100)),
                ('bio', models.TextField(blank=True, max_length=500)),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.AddField(
            model_name='giftcard',
            name='issued_by',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='giftcards.PensionEntity'),
        ),
    ]
