Skip to content

Commit

Permalink
Fix migrations (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoorman committed May 31, 2017
1 parent c100dc6 commit d35a7fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 63 deletions.
7 changes: 4 additions & 3 deletions sandbox/sandbox/apps/home/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-05-31 10:20
# Generated by Django 1.11.1 on 2017-05-31 16:07
from __future__ import unicode_literals

from django.db import migrations, models
Expand All @@ -11,7 +11,8 @@ class Migration(migrations.Migration):
initial = True

dependencies = [
('wagtail_personalisation', '0009_auto_20170531_0428'),
('wagtail_personalisation', '0010_auto_20170531_1101'),
('wagtailcore', '0033_remove_golive_expiry_help_text'),
]

operations = [
Expand All @@ -21,7 +22,7 @@ class Migration(migrations.Migration):
('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.Page')),
('is_segmented', models.BooleanField(default=False)),
('canonical_page', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='variations', to='home.HomePage')),
('segment', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='segments', to='wagtail_personalisation.Segment')),
('segment', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtail_personalisation.Segment')),
],
options={
'abstract': False,
Expand Down
59 changes: 0 additions & 59 deletions sandbox/sandbox/apps/home/migrations/0002_create_homepage.py

This file was deleted.

2 changes: 1 addition & 1 deletion sandbox/sandbox/apps/user/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-05-31 12:22
# Generated by Django 1.11.1 on 2017-05-31 16:07
from __future__ import unicode_literals

import django.contrib.auth.models
Expand Down

0 comments on commit d35a7fe

Please sign in to comment.