setSteps([ 'currencies' => ['t' => 'Add fields to table currencies'], ]); } public function migrate() { if ($this->startStep('currencies')) { $this->currencies(); } } public function rollback() { } protected function currencies() { $this->table(Site::TABLE_CURRENCIES) ->addColumn('extra', 'text', ['limit' => MysqlAdapter::TEXT_REGULAR, 'null' => true, 'default' => null]) ->update(); } }