##// END OF EJS Templates
Updated the sync api document
Updated the sync api document

File last commit:

r1015:c84f21f3 merge decentral
r1188:d679decc 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,
),
]