from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('seedlibrary', '0002_auto_20170219_2058'),
    ]

    operations = [
        migrations.RenameField(
            model_name='extendedview',
            old_name='external_field',
            new_name='external_url',
        ),
        migrations.AddField(
            model_name='extendedview',
            name='grain_subcategory',
            field=models.CharField(blank=True, max_length=50),
        ),
    ]

from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('seedlibrary', '0002_add_extendedview'),
    ]

    operations = [
        migrations.RenameField(
            model_name='extendedview',
            old_name='external_field',
            new_name='external_url',
        ),
        migrations.AddField(
            model_name='extendedview',
            name='grain_subcategory',
            field=models.CharField(blank=True, max_length=50),
        ),
    ]

Update migration file for namechange
Update migration file for namechange

  from __future__ import unicode_literals
  
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
-         ('seedlibrary', '0002_auto_20170219_2058'),
+         ('seedlibrary', '0002_add_extendedview'),
      ]
  
      operations = [
          migrations.RenameField(
              model_name='extendedview',
              old_name='external_field',
              new_name='external_url',
          ),
          migrations.AddField(
              model_name='extendedview',
              name='grain_subcategory',
              field=models.CharField(blank=True, max_length=50),
          ),
      ]
  
Update migration file for namechange
## Code Before:
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('seedlibrary', '0002_auto_20170219_2058'),
    ]

    operations = [
        migrations.RenameField(
            model_name='extendedview',
            old_name='external_field',
            new_name='external_url',
        ),
        migrations.AddField(
            model_name='extendedview',
            name='grain_subcategory',
            field=models.CharField(blank=True, max_length=50),
        ),
    ]

## Instruction:
Update migration file for namechange
## Code After:
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('seedlibrary', '0002_add_extendedview'),
    ]

    operations = [
        migrations.RenameField(
            model_name='extendedview',
            old_name='external_field',
            new_name='external_url',
        ),
        migrations.AddField(
            model_name='extendedview',
            name='grain_subcategory',
            field=models.CharField(blank=True, max_length=50),
        ),
    ]
