mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Unable to migrate down
Possible bug? Running PHP 5.6.3 I had to override this method in MyMigrationTask.
This commit is contained in:
parent
9cccfec1a0
commit
900a7b7ff9
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user