text: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.db import models, migrations
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('sampleapp', '0001_initial'),
      ]
  
      operations = [
          migrations.RemoveField(
              model_name='category',
              name='level',
          ),
          migrations.RemoveField(
              model_name='category',
              name='lft',
          ),
          migrations.RemoveField(
              model_name='category',
              name='rght',
          ),
          migrations.RemoveField(
              model_name='category',
              name='tree_id',
          ),
          migrations.AddField(
              model_name='category',
              name='depth',
              field=models.PositiveIntegerField(default=1),
              preserve_default=False,
          ),
          migrations.AddField(
              model_name='category',
              name='numchild',
              field=models.PositiveIntegerField(default=0),
              preserve_default=True,
          ),
          migrations.AddField(
              model_name='category',
              name='path',
              field=models.CharField(default='0001', unique=True, max_length=255),
              preserve_default=False,
          ),
      ]
  