ee0c56c113654744a4f561c9bcfd17cd60bbfd51
[audio.git] / src / apiclient / migrations / 0001_initial.py
1 from django.db import models, migrations
2 from django.conf import settings
3
4
5 class Migration(migrations.Migration):
6
7     dependencies = [
8         migrations.swappable_dependency(settings.AUTH_USER_MODEL),
9     ]
10
11     operations = [
12         migrations.CreateModel(
13             name='OAuthConnection',
14             fields=[
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)),
20             ],
21             options={
22             },
23             bases=(models.Model,),
24         ),
25     ]