# Generated by Django 1.11.20 on 2020-02-11 10:27

import uuid

import django.contrib.postgres.fields.jsonb
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('authentic2', '0025_auto_20191009_1047'),
    ]

    operations = [
        migrations.CreateModel(
            name='Token',
            fields=[
                (
                    'uuid',
                    models.UUIDField(
                        default=uuid.uuid4,
                        editable=False,
                        primary_key=True,
                        serialize=False,
                        verbose_name='Identifier',
                    ),
                ),
                ('kind', models.CharField(max_length=32, verbose_name='Kind')),
                (
                    'content',
                    django.contrib.postgres.fields.jsonb.JSONField(blank=True, verbose_name='Content'),
                ),
                ('created', models.DateTimeField(verbose_name='Creation date', auto_now_add=True)),
                ('expires', models.DateTimeField(verbose_name='Expires')),
            ],
            options={
                'ordering': ('-expires', 'kind', 'uuid'),
            },
        ),
    ]
