# -*- coding: utf-8 -*-
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

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

    operations = [
        migrations.CreateModel(
            name='LoginCode',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True,
                 primary_key=True)),
                ('code', models.CharField(verbose_name='code', max_length=20, editable=False)),
                ('timestamp', models.DateTimeField(editable=False)),
                ('next', models.TextField(editable=False, blank=True)),
                ('user', models.ForeignKey(related_name=b'login_codes', editable=False,
                 to=settings.AUTH_USER_MODEL, verbose_name='user')),
            ],
            options={
            },
            bases=(models.Model,),
        ),
    ]

# -*- coding: utf-8 -*-
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

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

    operations = [
        migrations.CreateModel(
            name='LoginCode',
            fields=[
                ('id', models.AutoField(serialize=False, primary_key=True, verbose_name='ID',
                 auto_created=True)),
                ('code', models.CharField(editable=False, verbose_name='code', max_length=20)),
                ('timestamp', models.DateTimeField(editable=False)),
                ('next', models.TextField(blank=True, editable=False)),
                ('user', models.ForeignKey(related_name='login_codes', verbose_name='user',
                 to=settings.AUTH_USER_MODEL, editable=False)),
            ],
            options={
            },
            bases=(models.Model,),
        ),
    ]

fix python 3 issue with migrations #27