2020-06-17 01:00:50 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
2020-07-20 23:51:15 +01:00
|
|
|
# Generated by Django 1.11.29 on 2020-07-20 22:32
|
2020-06-17 01:00:50 +01:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('core', '0001_initial'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='EntranceRedirect',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
|
('originalURL', models.CharField(max_length=200)),
|
|
|
|
('entrance', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Entrance')),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='Redirect',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
|
('originalURL', models.CharField(max_length=200, unique=True)),
|
|
|
|
('newURL', models.CharField(max_length=200)),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|