From 2063b740a303c998af9a8d0d342fb8e2b8b42df1 Mon Sep 17 00:00:00 2001 From: Alexander Yakovlev Date: Wed, 19 Oct 2016 12:03:48 +0700 Subject: [PATCH] Fixed the dropping order --- .../migrations/kangana/20161016123906_model-combining.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/migrations/kangana/20161016123906_model-combining.php b/application/migrations/kangana/20161016123906_model-combining.php index c38e40b..1c3b599 100644 --- a/application/migrations/kangana/20161016123906_model-combining.php +++ b/application/migrations/kangana/20161016123906_model-combining.php @@ -106,9 +106,9 @@ class Migration_Kangana_20161016123906 extends Minion_Migration_Base { } $db->query(NULL, "DROP TABLE instants"); - $db->query(NULL, "DROP TABLE subscriptions"); $db->query(NULL, "DROP TABLE subscriptions_groups"); $db->query(NULL, "DROP TABLE clients_subscriptions"); + $db->query(NULL, "DROP TABLE subscriptions"); $db->commit(); echo 'All done.'.PHP_EOL;