khaganat-web/navbar/migrations/0002_elementseparator.py
Rodolphe Breard e0d26e8a7a Add separators within the navbar
Implement #2
2018-01-29 22:34:05 +01:00

22 lines
662 B
Python

# 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')),
],
),
]