##// END OF EJS Templates
Removed old south migrations, added new ones
neko259 -
r934:e8a92ba0 decentral
parent child Browse files
Show More
@@ -0,0 +1,63 b''
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import models, migrations
5
6
7 class Migration(migrations.Migration):
8
9 dependencies = [
10 ('boards', '0004_tag_required'),
11 ]
12
13 operations = [
14 migrations.CreateModel(
15 name='GlobalId',
16 fields=[
17 ('id', models.AutoField(auto_created=True, primary_key=True, verbose_name='ID', serialize=False)),
18 ('key', models.TextField()),
19 ('key_type', models.TextField()),
20 ('local_id', models.IntegerField()),
21 ],
22 options={
23 },
24 bases=(models.Model,),
25 ),
26 migrations.CreateModel(
27 name='KeyPair',
28 fields=[
29 ('id', models.AutoField(auto_created=True, primary_key=True, verbose_name='ID', serialize=False)),
30 ('public_key', models.TextField()),
31 ('private_key', models.TextField()),
32 ('key_type', models.TextField()),
33 ('primary', models.BooleanField(default=False)),
34 ],
35 options={
36 },
37 bases=(models.Model,),
38 ),
39 migrations.CreateModel(
40 name='Signature',
41 fields=[
42 ('id', models.AutoField(auto_created=True, primary_key=True, verbose_name='ID', serialize=False)),
43 ('key_type', models.TextField()),
44 ('key', models.TextField()),
45 ('signature', models.TextField()),
46 ],
47 options={
48 },
49 bases=(models.Model,),
50 ),
51 migrations.AddField(
52 model_name='post',
53 name='global_id',
54 field=models.OneToOneField(to='boards.GlobalId', null=True, blank=True),
55 preserve_default=True,
56 ),
57 migrations.AddField(
58 model_name='post',
59 name='signature',
60 field=models.ManyToManyField(to='boards.Signature', null=True, blank=True),
61 preserve_default=True,
62 ),
63 ]
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now