From 900a7b7ff9693866dc26d483d44b09ac544d02cb Mon Sep 17 00:00:00 2001 From: ezero Date: Sat, 20 Jun 2015 00:38:59 +1200 Subject: [PATCH] Unable to migrate down Possible bug? Running PHP 5.6.3 I had to override this method in MyMigrationTask. --- dev/MigrationTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/MigrationTask.php b/dev/MigrationTask.php index 1001465b2..276b62fd8 100644 --- a/dev/MigrationTask.php +++ b/dev/MigrationTask.php @@ -16,7 +16,7 @@ * protected $description = "Description"; // description of what it does * * public function run($request) { - * if ($request->param('Direction') == 'down') { + * if ($request->getVar('Direction') == 'down') { * $this->down(); * } else { * $this->up();