1
0
Fork 0
mirror of https://github.com/Oreolek/kangana.git synced 2024-06-16 15:01:09 +03:00

Fixed the dropping order

This commit is contained in:
Alexander Yakovlev 2016-10-19 12:03:48 +07:00
parent 1d92baadfb
commit 2063b740a3

View file

@ -106,9 +106,9 @@ class Migration_Kangana_20161016123906 extends Minion_Migration_Base {
} }
$db->query(NULL, "DROP TABLE instants"); $db->query(NULL, "DROP TABLE instants");
$db->query(NULL, "DROP TABLE subscriptions");
$db->query(NULL, "DROP TABLE subscriptions_groups"); $db->query(NULL, "DROP TABLE subscriptions_groups");
$db->query(NULL, "DROP TABLE clients_subscriptions"); $db->query(NULL, "DROP TABLE clients_subscriptions");
$db->query(NULL, "DROP TABLE subscriptions");
$db->commit(); $db->commit();
echo 'All done.'.PHP_EOL; echo 'All done.'.PHP_EOL;