public function createSavepoint($savepoint) { $this->connect('master'); parent::createSavepoint($savepoint); }