##// END OF EJS Templates
Moved the TODO item to the proper section
Moved the TODO item to the proper section

File last commit:

r1015:c84f21f3 merge decentral
r1235:3ee64c6f decentral
Show More
0012_auto_20150307_1323.py
63 lines | 2.0 KiB | text/x-python | PythonLexer
/ boards / migrations / 0012_auto_20150307_1323.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('boards', '0011_notification'),
]
operations = [
migrations.CreateModel(
name='GlobalId',
fields=[
('id', models.AutoField(serialize=False, auto_created=True, primary_key=True, verbose_name='ID')),
('key', models.TextField()),
('key_type', models.TextField()),
('local_id', models.IntegerField()),
],
options={
},
bases=(models.Model,),
),
migrations.CreateModel(
name='KeyPair',
fields=[
('id', models.AutoField(serialize=False, auto_created=True, primary_key=True, verbose_name='ID')),
('public_key', models.TextField()),
('private_key', models.TextField()),
('key_type', models.TextField()),
('primary', models.BooleanField(default=False)),
],
options={
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Signature',
fields=[
('id', models.AutoField(serialize=False, auto_created=True, primary_key=True, verbose_name='ID')),
('key_type', models.TextField()),
('key', models.TextField()),
('signature', models.TextField()),
],
options={
},
bases=(models.Model,),
),
migrations.AddField(
model_name='post',
name='global_id',
field=models.OneToOneField(to='boards.GlobalId', null=True, blank=True),
preserve_default=True,
),
migrations.AddField(
model_name='post',
name='signature',
field=models.ManyToManyField(null=True, blank=True, to='boards.Signature'),
preserve_default=True,
),
]