from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('deployments', '0003_prdeployment_start_time'),
    ]

    operations = [
        migrations.AlterField(
            model_name='prdeployment',
            name='image',
            field=models.CharField(default='frigg/frigg-test-base', max_length=255),
        ),
    ]

from __future__ import unicode_literals

from django.conf import settings
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('deployments', '0003_prdeployment_start_time'),
    ]

    operations = [
        migrations.AlterField(
            model_name='prdeployment',
            name='image',
            field=models.CharField(default=settings.FRIGG_PREVIEW_IMAGE, max_length=255),
        ),
    ]

Set FRIGG_PREVIEW_IMAGE in db migrations
Set FRIGG_PREVIEW_IMAGE in db migrations

  from __future__ import unicode_literals
  
+ from django.conf import settings
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('deployments', '0003_prdeployment_start_time'),
      ]
  
      operations = [
          migrations.AlterField(
              model_name='prdeployment',
              name='image',
-             field=models.CharField(default='frigg/frigg-test-base', max_length=255),
+             field=models.CharField(default=settings.FRIGG_PREVIEW_IMAGE, max_length=255),
          ),
      ]
  
Set FRIGG_PREVIEW_IMAGE in db migrations
## Code Before:
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('deployments', '0003_prdeployment_start_time'),
    ]

    operations = [
        migrations.AlterField(
            model_name='prdeployment',
            name='image',
            field=models.CharField(default='frigg/frigg-test-base', max_length=255),
        ),
    ]

## Instruction:
Set FRIGG_PREVIEW_IMAGE in db migrations
## Code After:
from __future__ import unicode_literals

from django.conf import settings
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('deployments', '0003_prdeployment_start_time'),
    ]

    operations = [
        migrations.AlterField(
            model_name='prdeployment',
            name='image',
            field=models.CharField(default=settings.FRIGG_PREVIEW_IMAGE, max_length=255),
        ),
    ]
