from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('workflow', '0023_auto_20180425_0136'),
    ]

    operations = [
        migrations.AddField(
            model_name='dashboard',
            name='dashboard_uuid',
            field=models.UUIDField(default=None, verbose_name='Dashboard UUID'),
        ),
        migrations.AddField(
            model_name='dashboard',
            name='public_url_token',
            field=models.CharField(blank=True, max_length=255, null=True),
        ),
        migrations.AlterField(
            model_name='dashboard',
            name='public',
            field=models.CharField(blank=True, choices=[('org', 'Organization'), ('url', 'URL'), ('all', 'All')], max_length=5, null=True),
        ),
    ]

from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('workflow', '0023_auto_20180425_0136'),
    ]

    operations = [
        migrations.AddField(
            model_name='dashboard',
            name='dashboard_uuid',
            field=models.UUIDField(blank=True, null=True, default=None, verbose_name='Dashboard UUID'),
        ),
        migrations.AddField(
            model_name='dashboard',
            name='public_url_token',
            field=models.CharField(blank=True, max_length=255, null=True),
        ),
        migrations.AlterField(
            model_name='dashboard',
            name='public',
            field=models.CharField(blank=True, choices=[('org', 'Organization'), ('url', 'URL'), ('all', 'All')], max_length=5, null=True),
        ),
    ]

Fix the dashboard migration for UUID
Fix the dashboard migration for UUID

  from __future__ import unicode_literals
  
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('workflow', '0023_auto_20180425_0136'),
      ]
  
      operations = [
          migrations.AddField(
              model_name='dashboard',
              name='dashboard_uuid',
-             field=models.UUIDField(default=None, verbose_name='Dashboard UUID'),
+             field=models.UUIDField(blank=True, null=True, default=None, verbose_name='Dashboard UUID'),
          ),
          migrations.AddField(
              model_name='dashboard',
              name='public_url_token',
              field=models.CharField(blank=True, max_length=255, null=True),
          ),
          migrations.AlterField(
              model_name='dashboard',
              name='public',
              field=models.CharField(blank=True, choices=[('org', 'Organization'), ('url', 'URL'), ('all', 'All')], max_length=5, null=True),
          ),
      ]
  
Fix the dashboard migration for UUID
## Code Before:
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('workflow', '0023_auto_20180425_0136'),
    ]

    operations = [
        migrations.AddField(
            model_name='dashboard',
            name='dashboard_uuid',
            field=models.UUIDField(default=None, verbose_name='Dashboard UUID'),
        ),
        migrations.AddField(
            model_name='dashboard',
            name='public_url_token',
            field=models.CharField(blank=True, max_length=255, null=True),
        ),
        migrations.AlterField(
            model_name='dashboard',
            name='public',
            field=models.CharField(blank=True, choices=[('org', 'Organization'), ('url', 'URL'), ('all', 'All')], max_length=5, null=True),
        ),
    ]

## Instruction:
Fix the dashboard migration for UUID
## Code After:
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('workflow', '0023_auto_20180425_0136'),
    ]

    operations = [
        migrations.AddField(
            model_name='dashboard',
            name='dashboard_uuid',
            field=models.UUIDField(blank=True, null=True, default=None, verbose_name='Dashboard UUID'),
        ),
        migrations.AddField(
            model_name='dashboard',
            name='public_url_token',
            field=models.CharField(blank=True, max_length=255, null=True),
        ),
        migrations.AlterField(
            model_name='dashboard',
            name='public',
            field=models.CharField(blank=True, choices=[('org', 'Organization'), ('url', 'URL'), ('all', 'All')], max_length=5, null=True),
        ),
    ]
