# -*- coding: utf-8 -*-
# Generated by Django 1.11.11 on 2018-05-02 07:48
from __future__ import unicode_literals

from django.db import migrations, models
import jsonfield.fields


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='ComponentAuthTokenRefreshLogInfo',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('status', models.BooleanField(db_index=True, default=True, help_text='Status', verbose_name='status')),
                ('created_at', models.DateTimeField(auto_now_add=True, help_text='Create Time', verbose_name='created_at')),
                ('updated_at', models.DateTimeField(auto_now=True, help_text='Update Time', verbose_name='updated_at')),
                ('component_appid', models.CharField(blank=True, db_index=True, help_text='Component APPID', max_length=32, null=True, verbose_name='component_appid')),
                ('component_secret', models.CharField(blank=True, help_text='Component Secret', max_length=32, null=True, verbose_name='component_secret')),
                ('authorizer_appid', models.CharField(blank=True, db_index=True, help_text='Authorizer APPID', max_length=32, null=True, verbose_name='authorizer_appid')),
                ('component_authorizer_access_info', jsonfield.fields.JSONField(blank=True, help_text='Component Authorizer Access Info', null=True, verbose_name='component_authorizer_access_info')),
            ],
            options={
                'verbose_name': 'componentauthtokenrefreshloginfo',
                'verbose_name_plural': 'componentauthtokenrefreshloginfo',
            },
        ),
        migrations.CreateModel(
            name='ComponentTokenRefreshLogInfo',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('status', models.BooleanField(db_index=True, default=True, help_text='Status', verbose_name='status')),
                ('created_at', models.DateTimeField(auto_now_add=True, help_text='Create Time', verbose_name='created_at')),
                ('updated_at', models.DateTimeField(auto_now=True, help_text='Update Time', verbose_name='updated_at')),
                ('component_appid', models.CharField(blank=True, db_index=True, help_text='Component APPID', max_length=32, null=True, verbose_name='component_appid')),
                ('component_secret', models.CharField(blank=True, help_text='Component Secret', max_length=32, null=True, verbose_name='component_secret')),
                ('component_access_info', jsonfield.fields.JSONField(blank=True, help_text='Component Access Info', null=True, verbose_name='component_access_info')),
            ],
            options={
                'verbose_name': 'componenttokenrefreshloginfo',
                'verbose_name_plural': 'componenttokenrefreshloginfo',
            },
        ),
        migrations.CreateModel(
            name='TicketRefreshLogInfo',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('status', models.BooleanField(db_index=True, default=True, help_text='Status', verbose_name='status')),
                ('created_at', models.DateTimeField(auto_now_add=True, help_text='Create Time', verbose_name='created_at')),
                ('updated_at', models.DateTimeField(auto_now=True, help_text='Update Time', verbose_name='updated_at')),
                ('appid', models.CharField(blank=True, db_index=True, help_text='APPID', max_length=32, null=True, verbose_name='appid')),
                ('secret', models.CharField(blank=True, help_text='Secret', max_length=32, null=True, verbose_name='secret')),
                ('ticket_type', models.CharField(blank=True, help_text='Ticket Type', max_length=8, null=True, verbose_name='ticket_type')),
                ('ticket_info', jsonfield.fields.JSONField(blank=True, help_text='Ticket Info', null=True, verbose_name='ticket_info')),
            ],
            options={
                'verbose_name': 'ticketrefreshloginfo',
                'verbose_name_plural': 'ticketrefreshloginfo',
            },
        ),
        migrations.CreateModel(
            name='TokenRefreshLogInfo',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('status', models.BooleanField(db_index=True, default=True, help_text='Status', verbose_name='status')),
                ('created_at', models.DateTimeField(auto_now_add=True, help_text='Create Time', verbose_name='created_at')),
                ('updated_at', models.DateTimeField(auto_now=True, help_text='Update Time', verbose_name='updated_at')),
                ('appid', models.CharField(blank=True, db_index=True, help_text='APPID', max_length=32, null=True, verbose_name='appid')),
                ('secret', models.CharField(blank=True, help_text='Secret', max_length=32, null=True, verbose_name='secret')),
                ('access_info', jsonfield.fields.JSONField(blank=True, help_text='Access Info', null=True, verbose_name='access_info')),
            ],
            options={
                'verbose_name': 'tokenrefreshloginfo',
                'verbose_name_plural': 'tokenrefreshloginfo',
            },
        ),
    ]
