-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path0015_auto_20160822_2103.py
More file actions
38 lines (33 loc) · 1.36 KB
/
0015_auto_20160822_2103.py
File metadata and controls
38 lines (33 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- coding: utf-8 -*-
# Generated by Django 1.9.8 on 2016-08-22 21:03
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('api', '0014_appsettings_whitelist'),
]
operations = [
migrations.CreateModel(
name='TLS',
fields=[
('uuid', models.UUIDField(auto_created=True, default=uuid.uuid4, editable=False, primary_key=True, serialize=False, unique=True, verbose_name='UUID')),
('created', models.DateTimeField(auto_now_add=True)),
('updated', models.DateTimeField(auto_now=True)),
('https_enforced', models.NullBooleanField(default=None)),
('app', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.App')),
('owner', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL)),
],
options={
'ordering': ['-created'],
'get_latest_by': 'created',
},
),
migrations.AlterUniqueTogether(
name='tls',
unique_together=set([('app', 'uuid')]),
),
]