5d6240682f8b83044abf13672f0f31aca6e1669f
[audio.git] / src / apiclient / migrations / 0001_initial.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import models, migrations
5 from django.conf import settings
6
7
8 class Migration(migrations.Migration):
9
10     dependencies = [
11         migrations.swappable_dependency(settings.AUTH_USER_MODEL),
12     ]
13
14     operations = [
15         migrations.CreateModel(
16             name='OAuthConnection',
17             fields=[
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)),
23             ],
24             options={
25             },
26             bases=(models.Model,),
27         ),
28     ]