<reponame>dalou/django-workon<filename>workon/contrib/auth/migrations/0001_initial.py
# -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-06-14 00:13
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='ActivationToken',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_date', models.DateTimeField(auto_now_add=True, verbose_name='Cr\xe9\xe9 le')),
                ('updated_date', models.DateTimeField(auto_now=True, db_index=True, verbose_name='Modifi\xe9 le')),
                ('email', models.EmailField(db_index=True, max_length=254, verbose_name='Adresse email')),
                ('token', models.CharField(db_index=True, max_length=64, unique=True, verbose_name="Token d'activation")),
                ('is_used', models.BooleanField(default=False, verbose_name='Utilis\xe9 ?')),
                ('expiration_date', models.DateTimeField(blank=True, db_index=True, null=True, verbose_name="date d'expiration")),
                ('activation_date', models.DateTimeField(blank=True, null=True, verbose_name="date d'activation")),
            ],
            options={
                'ordering': ('created_date', 'activation_date'),
                'db_table': 'workon_auth_activationtoken',
                'verbose_name': "Cl\xe9 d'activation",
                'verbose_name_plural': "Cl\xe9s d'activation",
            },
        ),
        migrations.AlterUniqueTogether(
            name='activationtoken',
            unique_together=set([('email', 'token')]),
        ),
    ]

# -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-06-14 00:13
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='ActivationToken',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_date', models.DateTimeField(auto_now_add=True, verbose_name='Cr\xe9\xe9 le')),
                ('updated_date', models.DateTimeField(auto_now=True, db_index=True, verbose_name='Modifi\xe9 le')),
                ('email', models.EmailField(db_index=True, max_length=254, verbose_name='Adresse email')),
                ('token', models.CharField(db_index=True, max_length=64, unique=True, verbose_name="Token d'activation")),
                ('is_used', models.BooleanField(default=False, verbose_name='Utilis\xe9 ?')),
                ('expiration_date', models.DateTimeField(blank=True, db_index=True, null=True, verbose_name="date d'expiration")),
                ('activation_date', models.DateTimeField(blank=True, null=True, verbose_name="date d'activation")),
            ],
            options={
                'ordering': ('created_date', 'activation_date'),
                'db_table': 'workon_auth_activationtoken',
                'verbose_name': "Cl\xe9 d'activation",
                'verbose_name_plural': "Cl\xe9s d'activation",
            },
        ),
        migrations.AlterUniqueTogether(
            name='activationtoken',
            unique_together=set([('email', 'token')]),
        ),
    ]
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-06-14 00:13