aboutsummaryrefslogtreecommitdiff
path: root/rpki/gui/routeview/migrations/0001_initial.py
blob: 36e2910dbcaff6bb78fe0f890c6d1fd09e3fddcc (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
40
41
# -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-07-19 23:18
from __future__ import unicode_literals

from django.db import migrations, models
import rpki.gui.models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='RouteOrigin',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('prefix_min', rpki.gui.models.IPAddressField(db_index=True)),
                ('prefix_max', rpki.gui.models.IPAddressField(db_index=True)),
                ('asn', models.PositiveIntegerField(help_text=b'origin AS')),
            ],
            options={
                'ordering': ('prefix_min', '-prefix_max'),
            },
        ),
        migrations.CreateModel(
            name='RouteOriginV6',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('prefix_min', rpki.gui.models.IPAddressField(db_index=True)),
                ('prefix_max', rpki.gui.models.IPAddressField(db_index=True)),
                ('asn', models.PositiveIntegerField(help_text=b'origin AS')),
            ],
            options={
                'ordering': ('prefix_min', '-prefix_max'),
            },
        ),
    ]