1 from django.db import models, migrations
2 from django.conf import settings
5 class Migration(migrations.Migration):
8 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
12 migrations.CreateModel(
13 name='OAuthConnection',
15 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
16 ('access', models.BooleanField(default=False)),
17 ('token', models.CharField(max_length=64, null=True, blank=True)),
18 ('token_secret', models.CharField(max_length=64, null=True, blank=True)),
19 ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL, on_delete=models.CASCADE)),
23 bases=(models.Model,),