public function truncateAllTables() { $tables = $this->getAllExistingTables(); foreach ($tables as $table) { Db::query("TRUNCATE `{$table}`"); } }