Rename pharos-dashboard and pharos-validator
[pharos-tools.git] / dashboard / src / account / migrations / 0001_initial.py
1 # -*- coding: utf-8 -*-
2 # Generated by Django 1.10 on 2016-11-03 13:33
3 from __future__ import unicode_literals
4
5 import account.models
6 from django.conf import settings
7 from django.db import migrations, models
8 import django.db.models.deletion
9
10
11 class Migration(migrations.Migration):
12
13     initial = True
14
15     dependencies = [
16         migrations.swappable_dependency(settings.AUTH_USER_MODEL),
17     ]
18
19     operations = [
20         migrations.CreateModel(
21             name='UserProfile',
22             fields=[
23                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
24                 ('timezone', models.CharField(default='UTC', max_length=100)),
25                 ('ssh_public_key', models.FileField(blank=True, null=True, upload_to=account.models.upload_to)),
26                 ('pgp_public_key', models.FileField(blank=True, null=True, upload_to=account.models.upload_to)),
27                 ('company', models.CharField(max_length=200)),
28                 ('oauth_token', models.CharField(max_length=1024)),
29                 ('oauth_secret', models.CharField(max_length=1024)),
30                 ('jira_url', models.CharField(default='', max_length=100)),
31                 ('full_name', models.CharField(default='', max_length=100)),
32                 ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
33             ],
34             options={
35                 'db_table': 'user_profile',
36             },
37         ),
38     ]