1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
4 from django.db import models, migrations
5 from django.conf import settings
8 class Migration(migrations.Migration):
11 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
15 migrations.CreateModel(
16 name='OAuthConnection',
18 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
19 ('access', models.BooleanField(default=False)),
20 ('token', models.CharField(max_length=64, null=True, blank=True)),
21 ('token_secret', models.CharField(max_length=64, null=True, blank=True)),
22 ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL)),
26 bases=(models.Model,),