khaganat-web/navbar/migrations/0002_elementseparator.py

23 lines
662 B
Python
Raw Normal View History

# Generated by Django 2.0.1 on 2018-01-29 21:12
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('navbar', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='ElementSeparator',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('weight', models.PositiveSmallIntegerField()),
('parent', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='navbar.Element')),
],
),
]