-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path0027_auto_20180424_1742.py
More file actions
38 lines (33 loc) · 1.35 KB
/
0027_auto_20180424_1742.py
File metadata and controls
38 lines (33 loc) · 1.35 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.11.4 on 2018-04-24 17:42
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('api', '0026_release_exception'),
]
operations = [
migrations.CreateModel(
name='Service',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created', models.DateTimeField(auto_now_add=True)),
('updated', models.DateTimeField(auto_now=True)),
('procfile_type', models.TextField()),
('path_pattern', models.TextField()),
('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='service',
unique_together=set([('app', 'procfile_type')]),
),
]