mirror of
https://github.com/Oreolek/kohana-migrations.git
synced 2024-05-18 08:58:19 +03:00
Fixed a bug in db:migrate where you couldn't specify FALSE as a target version
This commit is contained in:
parent
6a90ec0c90
commit
7794e69fe8
|
@ -191,7 +191,7 @@ class Minion_Task_Db_Migrate extends Minion_Task
|
|||
if(is_bool($version))
|
||||
return $version;
|
||||
|
||||
if($version === 'TRUE' OR $version == FALSE)
|
||||
if($version === 'TRUE' OR $version == 'FALSE')
|
||||
return $version === 'TRUE';
|
||||
|
||||
if(strpos(':', $version) !== FALSE)
|
||||
|
|
Loading…
Reference in a new issue