added "after" to woker_add_active migration
This commit is contained in:
@@ -7,7 +7,7 @@ final class WokerAddActive extends AbstractMigration {
|
|||||||
if ($this->getEnvironment() == "thetool") {
|
if ($this->getEnvironment() == "thetool") {
|
||||||
$workerTable = $this->table("Worker");
|
$workerTable = $this->table("Worker");
|
||||||
$workerTable
|
$workerTable
|
||||||
->addColumn("active", "integer", ['default' => 1])
|
->addColumn("active", "integer", ['default' => 1, "after" => "id"])
|
||||||
->save();
|
->save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user