spejstore-new/storage/migrations/0002_auto_20170215_0115.py

35 lines
918 B
Python
Raw Permalink Normal View History

2017-02-15 03:01:47 +00:00
# -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2017-02-15 01:15
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import tree.fields
from tree.operations import CreateTreeTrigger
class Migration(migrations.Migration):
dependencies = [
2023-07-11 13:34:35 +00:00
("storage", "0001_squashed_0008_item_state"),
("tree", "0001_initial"),
2017-02-15 03:01:47 +00:00
]
operations = [
migrations.AddField(
2023-07-11 13:34:35 +00:00
model_name="item",
name="parent",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.CASCADE,
to="storage.Item",
),
2017-02-15 03:01:47 +00:00
),
migrations.AddField(
2023-07-11 13:34:35 +00:00
model_name="item",
name="path",
2017-02-15 03:01:47 +00:00
field=tree.fields.PathField(),
),
2023-07-11 13:34:35 +00:00
CreateTreeTrigger("storage.Item"),
2017-02-15 03:01:47 +00:00
]