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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Architecture',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=200)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Bootloader',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=200)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='BootType',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=200)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='ClockChoice',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=200)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Filesystem',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=200)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='HardwareType',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=200)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='InstallType',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=200)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Iso',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=255)),
('created', models.DateTimeField(editable=False)),
('removed', models.DateTimeField(default=None, null=True, blank=True)),
('active', models.BooleanField(default=True)),
],
options={
'verbose_name': 'ISO',
},
bases=(models.Model,),
),
migrations.CreateModel(
name='IsoType',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=200)),
],
options={
'verbose_name': 'ISO type',
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Module',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=200)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Release',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('release_date', models.DateField(db_index=True)),
('version', models.CharField(unique=True, max_length=50)),
('kernel_version', models.CharField(max_length=50, blank=True)),
('md5_sum', models.CharField(max_length=32, verbose_name=b'MD5 digest', blank=True)),
('sha1_sum', models.CharField(max_length=40, verbose_name=b'SHA1 digest', blank=True)),
('created', models.DateTimeField(editable=False)),
('available', models.BooleanField(default=True)),
('info', models.TextField(verbose_name=b'Public information', blank=True)),
('torrent_data', models.TextField(help_text=b'base64-encoded torrent file', blank=True)),
],
options={
'ordering': ('-release_date', '-version'),
'get_latest_by': 'release_date',
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Source',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=200)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Test',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('user_name', models.CharField(max_length=500)),
('user_email', models.EmailField(max_length=75, verbose_name=b'email address')),
('ip_address', models.GenericIPAddressField(verbose_name=b'IP address', unpack_ipv4=True)),
('created', models.DateTimeField(editable=False)),
('success', models.BooleanField(default=True)),
('comments', models.TextField(null=True, blank=True)),
('architecture', models.ForeignKey(to='releng.Architecture')),
('boot_type', models.ForeignKey(to='releng.BootType')),
('bootloader', models.ForeignKey(to='releng.Bootloader')),
('clock_choice', models.ForeignKey(to='releng.ClockChoice')),
('filesystem', models.ForeignKey(to='releng.Filesystem')),
('hardware_type', models.ForeignKey(to='releng.HardwareType')),
('install_type', models.ForeignKey(to='releng.InstallType')),
('iso', models.ForeignKey(to='releng.Iso')),
('iso_type', models.ForeignKey(to='releng.IsoType')),
('modules', models.ManyToManyField(to='releng.Module', null=True, blank=True)),
('rollback_filesystem', models.ForeignKey(related_name=b'rollback_test_set', blank=True, to='releng.Filesystem', null=True)),
('rollback_modules', models.ManyToManyField(related_name=b'rollback_test_set', null=True, to='releng.Module', blank=True)),
('source', models.ForeignKey(to='releng.Source')),
],
options={
},
bases=(models.Model,),
),
]
|