from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('roombookings', '0006_bookinga_bookingb_lock'),
    ]

    operations = [
        migrations.AddField(
            model_name='bookinga',
            name='id',
            field=models.AutoField(primary_key=True, serialize=False),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='bookingb',
            name='id',
            field=models.AutoField(primary_key=True, serialize=False),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='bookinga',
            name='slotid',
            field=models.BigIntegerField(),
        ),
        migrations.AlterField(
            model_name='bookingb',
            name='slotid',
            field=models.BigIntegerField(),
        ),
    ]

from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('roombookings', '0006_bookinga_bookingb_lock'),
    ]

    operations = [
        migrations.AlterField(
            model_name='bookinga',
            name='slotid',
            field=models.BigIntegerField(null=True, primary_key=False),
        ),
        migrations.AlterField(
            model_name='bookingb',
            name='slotid',
            field=models.BigIntegerField(null=True, primary_key=False),
        ),
        migrations.AddField(
            model_name='bookinga',
            name='id',
            field=models.AutoField(primary_key=True, serialize=False),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='bookingb',
            name='id',
            field=models.AutoField(primary_key=True, serialize=False),
            preserve_default=False,
        ),
    ]

Fix up migration to have only one PK
Fix up migration to have only one PK

  from __future__ import unicode_literals
  
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('roombookings', '0006_bookinga_bookingb_lock'),
      ]
  
      operations = [
+         migrations.AlterField(
+             model_name='bookinga',
+             name='slotid',
+             field=models.BigIntegerField(null=True, primary_key=False),
+         ),
+         migrations.AlterField(
+             model_name='bookingb',
+             name='slotid',
+             field=models.BigIntegerField(null=True, primary_key=False),
+         ),
          migrations.AddField(
              model_name='bookinga',
              name='id',
              field=models.AutoField(primary_key=True, serialize=False),
              preserve_default=False,
          ),
          migrations.AddField(
              model_name='bookingb',
              name='id',
              field=models.AutoField(primary_key=True, serialize=False),
              preserve_default=False,
          ),
-         migrations.AlterField(
-             model_name='bookinga',
-             name='slotid',
-             field=models.BigIntegerField(),
-         ),
-         migrations.AlterField(
-             model_name='bookingb',
-             name='slotid',
-             field=models.BigIntegerField(),
-         ),
      ]
  
Fix up migration to have only one PK
## Code Before:
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('roombookings', '0006_bookinga_bookingb_lock'),
    ]

    operations = [
        migrations.AddField(
            model_name='bookinga',
            name='id',
            field=models.AutoField(primary_key=True, serialize=False),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='bookingb',
            name='id',
            field=models.AutoField(primary_key=True, serialize=False),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='bookinga',
            name='slotid',
            field=models.BigIntegerField(),
        ),
        migrations.AlterField(
            model_name='bookingb',
            name='slotid',
            field=models.BigIntegerField(),
        ),
    ]

## Instruction:
Fix up migration to have only one PK
## Code After:
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('roombookings', '0006_bookinga_bookingb_lock'),
    ]

    operations = [
        migrations.AlterField(
            model_name='bookinga',
            name='slotid',
            field=models.BigIntegerField(null=True, primary_key=False),
        ),
        migrations.AlterField(
            model_name='bookingb',
            name='slotid',
            field=models.BigIntegerField(null=True, primary_key=False),
        ),
        migrations.AddField(
            model_name='bookinga',
            name='id',
            field=models.AutoField(primary_key=True, serialize=False),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='bookingb',
            name='id',
            field=models.AutoField(primary_key=True, serialize=False),
            preserve_default=False,
        ),
    ]
