from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('services', '0011_unit_extensions'),
    ]

    operations = [
        migrations.AddField(
            model_name='unit',
            name='data_source',
            field=models.CharField(null=True, max_length=20),
        ),
    ]

from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('services', '0011_unit_extensions'),
    ]

    operations = [
        migrations.AddField(
            model_name='unit',
            name='data_source',
            field=models.CharField(null=True, max_length=20, default='tprek'),
            preserve_default=False
        ),
    ]

Add default to data_source migration.
Add default to data_source migration.

  from __future__ import unicode_literals
  
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('services', '0011_unit_extensions'),
      ]
  
      operations = [
          migrations.AddField(
              model_name='unit',
              name='data_source',
-             field=models.CharField(null=True, max_length=20),
+             field=models.CharField(null=True, max_length=20, default='tprek'),
+             preserve_default=False
          ),
      ]
  
Add default to data_source migration.
## Code Before:
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('services', '0011_unit_extensions'),
    ]

    operations = [
        migrations.AddField(
            model_name='unit',
            name='data_source',
            field=models.CharField(null=True, max_length=20),
        ),
    ]

## Instruction:
Add default to data_source migration.
## Code After:
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('services', '0011_unit_extensions'),
    ]

    operations = [
        migrations.AddField(
            model_name='unit',
            name='data_source',
            field=models.CharField(null=True, max_length=20, default='tprek'),
            preserve_default=False
        ),
    ]
