public function up(Migration $migration) { $this->tableGateway()->insert(['version' => $migration->getVersion()]); return $this; }