Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save al-the-x/00f1a4cdf259bbed9848b1f02ca466cd to your computer and use it in GitHub Desktop.
Save al-the-x/00f1a4cdf259bbed9848b1f02ca466cd to your computer and use it in GitHub Desktop.
Where did these funky migrations come from?
# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2019-05-31 19:21
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('experience', '0007_auto_20190425_0158'),
]
operations = [
migrations.RemoveField(
model_name='experience',
name='pantry_block',
),
migrations.RemoveField(
model_name='experience',
name='segment',
),
migrations.RemoveField(
model_name='experience',
name='tipper_offer',
),
migrations.AlterField(
model_name='pantryblockexperience',
name='pantry_block',
field=models.ForeignKey(help_text='If blank, carousel will render', on_delete=django.db.models.deletion.CASCADE, to='renderable.Block'),
),
migrations.DeleteModel(
name='Experience',
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2019-05-31 19:21
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('marketing', '0024_add_tipper_offer_tiers'),
]
operations = [
migrations.AlterModelOptions(
name='tipperoffertier',
options={'ordering': ['minimum_price']},
),
migrations.AlterField(
model_name='tipperofferitem',
name='tipper_tier',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='items', to='marketing.TipperOfferTier'),
),
migrations.AlterField(
model_name='tipperoffertier',
name='tipper_offer',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='tiers', to='marketing.TipperOffer'),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2019-05-31 19:21
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('support', '0009_auto_20190219_1422'),
]
operations = [
migrations.AlterField(
model_name='agentconsultation',
name='channel',
field=models.PositiveSmallIntegerField(choices=[(1, 'Phone'), (2, 'Email'), (3, 'UXR')], help_text='If you choose other please specify the channel in the notes section'),
),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment