return value with runcate to work woth migration call

This commit is contained in:
Dario Rekowski on RockPI 2021-05-13 11:36:02 +00:00
parent 64ecf03841
commit e9b5f33949

View File

@ -22,6 +22,7 @@ class AppTable extends Table
$this->getConnection()->query($truncateCommand); $this->getConnection()->query($truncateCommand);
} }
$this->getConnection()->query('ALTER TABLE ' . $this->getSchema()->name() . ' AUTO_INCREMENT=1'); $this->getConnection()->query('ALTER TABLE ' . $this->getSchema()->name() . ' AUTO_INCREMENT=1');
return ['success' => true];
} }
public function saveManyWithErrors($entities) public function saveManyWithErrors($entities)
{ {