aboutsummaryrefslogtreecommitdiff
path: root/rpki/rcynicdb/migrations/0004_auto_20171217_2315.py
blob: f74d60862e2e18cf4fad5112135f1970a4d7aafe (plain) (blame)
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
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('rcynicdb', '0003_auto_20160301_0333'),
    ]

    operations = [
        migrations.CreateModel(
            name='RRDPZone',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('session_id', models.UUIDField()),
                ('serial', models.BigIntegerField()),
                ('updated', models.DateTimeField(null=True)),
            ],
        ),
        migrations.RemoveField(
            model_name='rrdpsnapshot',
            name='retrieved',
        ),
        migrations.RemoveField(
            model_name='rpkiobject',
            name='snapshot',
        ),
        migrations.DeleteModel(
            name='RRDPSnapshot',
        ),
        migrations.AddField(
            model_name='rpkiobject',
            name='zone',
            field=models.ManyToManyField(to='rcynicdb.RRDPZone'),
        ),
    ]