Skip to content

Commit 06362ec

Browse files
committed
Got rid of old migrations and created new initial migrations.
- Legacy-Id: 14662
1 parent 5638cf3 commit 06362ec

271 files changed

Lines changed: 1268 additions & 17148 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 14 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,90 +1,40 @@
11
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.11.10 on 2018-02-20 10:52
23
from __future__ import unicode_literals
34

4-
from django.db import models, migrations
5+
from django.db import migrations, models
6+
import django.db.models.deletion
7+
import ietf.utils.models
58

69

710
class Migration(migrations.Migration):
811

12+
initial = True
13+
914
dependencies = [
1015
]
1116

1217
operations = [
1318
migrations.CreateModel(
1419
name='CommunityList',
1520
fields=[
16-
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
17-
('secret', models.CharField(max_length=255, null=True, blank=True)),
18-
('cached', models.TextField(null=True, blank=True)),
19-
],
20-
options={
21-
},
22-
bases=(models.Model,),
23-
),
24-
migrations.CreateModel(
25-
name='DisplayConfiguration',
26-
fields=[
27-
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
28-
('sort_method', models.CharField(default=b'by_filename', max_length=100, choices=[(b'by_filename', b'Alphabetical by I-D filename and RFC number'), (b'by_title', b'Alphabetical by document title'), (b'by_wg', b'Alphabetical by associated WG'), (b'date_publication', b'Date of publication of current version of the document'), (b'recent_change', b'Date of most recent change of status of any type'), (b'recent_significant', b'Date of most recent significant change of status')])),
29-
('display_fields', models.TextField(default=b'filename,title,date')),
30-
],
31-
options={
32-
},
33-
bases=(models.Model,),
34-
),
35-
migrations.CreateModel(
36-
name='DocumentChangeDates',
37-
fields=[
38-
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
39-
('new_version_date', models.DateTimeField(null=True, blank=True)),
40-
('normal_change_date', models.DateTimeField(null=True, blank=True)),
41-
('significant_change_date', models.DateTimeField(null=True, blank=True)),
21+
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
4222
],
43-
options={
44-
},
45-
bases=(models.Model,),
4623
),
4724
migrations.CreateModel(
4825
name='EmailSubscription',
4926
fields=[
50-
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
51-
('email', models.CharField(max_length=200)),
52-
('significant', models.BooleanField(default=False)),
53-
],
54-
options={
55-
},
56-
bases=(models.Model,),
57-
),
58-
migrations.CreateModel(
59-
name='ExpectedChange',
60-
fields=[
61-
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
62-
('expected_date', models.DateField(verbose_name=b'Expected date')),
63-
],
64-
options={
65-
},
66-
bases=(models.Model,),
67-
),
68-
migrations.CreateModel(
69-
name='ListNotification',
70-
fields=[
71-
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
72-
('significant', models.BooleanField(default=False)),
27+
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
28+
('notify_on', models.CharField(choices=[(b'all', b'All changes'), (b'significant', b'Only significant state changes')], default=b'all', max_length=30)),
7329
],
74-
options={
75-
},
76-
bases=(models.Model,),
7730
),
7831
migrations.CreateModel(
79-
name='Rule',
32+
name='SearchRule',
8033
fields=[
81-
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
82-
('rule_type', models.CharField(max_length=30, choices=[(b'wg_asociated', b'All I-Ds associated with a particular WG'), (b'area_asociated', b'All I-Ds associated with all WGs in a particular Area'), (b'ad_responsible', b'All I-Ds with a particular responsible AD'), (b'author', b'All I-Ds with a particular author'), (b'shepherd', b'All I-Ds with a particular document shepherd'), (b'with_text', b'All I-Ds that contain a particular text string in the name'), (b'in_iab_state', b'All I-Ds that are in a particular IAB state'), (b'in_iana_state', b'All I-Ds that are in a particular IANA state'), (b'in_iesg_state', b'All I-Ds that are in a particular IESG state'), (b'in_irtf_state', b'All I-Ds that are in a particular IRTF state'), (b'in_ise_state', b'All I-Ds that are in a particular ISE state'), (b'in_rfcEdit_state', b'All I-Ds that are in a particular RFC Editor state'), (b'in_wg_state', b'All I-Ds that are in a particular Working Group state'), (b'wg_asociated_rfc', b'All RFCs associated with a particular WG'), (b'area_asociated_rfc', b'All RFCs associated with all WGs in a particular Area'), (b'author_rfc', b'All RFCs with a particular author')])),
83-
('value', models.CharField(max_length=255)),
84-
('last_updated', models.DateTimeField(auto_now=True)),
34+
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
35+
('rule_type', models.CharField(choices=[(b'group', b'All I-Ds associated with a particular group'), (b'area', b'All I-Ds associated with all groups in a particular Area'), (b'group_rfc', b'All RFCs associated with a particular group'), (b'area_rfc', b'All RFCs associated with all groups in a particular Area'), (b'state_iab', b'All I-Ds that are in a particular IAB state'), (b'state_iana', b'All I-Ds that are in a particular IANA state'), (b'state_iesg', b'All I-Ds that are in a particular IESG state'), (b'state_irtf', b'All I-Ds that are in a particular IRTF state'), (b'state_ise', b'All I-Ds that are in a particular ISE state'), (b'state_rfceditor', b'All I-Ds that are in a particular RFC Editor state'), (b'state_ietf', b'All I-Ds that are in a particular Working Group state'), (b'author', b'All I-Ds with a particular author'), (b'author_rfc', b'All RFCs with a particular author'), (b'ad', b'All I-Ds with a particular responsible AD'), (b'shepherd', b'All I-Ds with a particular document shepherd'), (b'name_contains', b'All I-Ds with particular text/regular expression in the name')], max_length=30)),
36+
('text', models.CharField(blank=True, default=b'', max_length=255, verbose_name=b'Text/RegExp')),
37+
('community_list', ietf.utils.models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='community.CommunityList')),
8538
],
86-
options={
87-
},
88-
bases=(models.Model,),
8939
),
9040
]

ietf/community/migrations/0002_auto_20141222_1749.py

Lines changed: 0 additions & 88 deletions
This file was deleted.

ietf/community/migrations/0003_cleanup.py

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)