From 7d5b59a7f82da88bb8bbbe3798133cc1651a2fe9 Mon Sep 17 00:00:00 2001 From: Denis Darii Date: Sun, 22 Mar 2015 23:53:20 +0100 Subject: [PATCH] Removed create_table from migrate_to_09 Removed the creation of 'LatestPortlet' table from migrate_to_09 as this operation will be performed in 0002 migration of portlet app. Or we can leave here this code and fake the respective 0002 migration. --- lfs/core/management/commands/lfs_migrate.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lfs/core/management/commands/lfs_migrate.py b/lfs/core/management/commands/lfs_migrate.py index 2b6da2b2d..f2744d04b 100644 --- a/lfs/core/management/commands/lfs_migrate.py +++ b/lfs/core/management/commands/lfs_migrate.py @@ -544,15 +544,6 @@ def migrate_to_09(self, application, version): paypal.module = "lfs_paypal.PayPalProcessor" paypal.save() - # Adding model 'LatestPortlet' - db.create_table('portlet_latestportlet', ( - ('id', models.fields.AutoField(primary_key=True)), - ('title', models.fields.CharField(max_length=100, blank=True)), - ('limit', models.fields.IntegerField(default=5)), - ('current_category', models.fields.BooleanField(default=False)), - ('slideshow', models.fields.BooleanField(default=False)), - )) - application.version = "0.9" application.save()