mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-13 20:04:34 +02:00
Fixed minor inspection issue
This commit is contained in:
parent
971bb92a8c
commit
fe732ecf45
2 changed files with 2 additions and 4 deletions
|
@ -207,6 +207,8 @@ class ResetAutoIncrementORMPurger implements PurgerInterface, ORMPurgerInterface
|
|||
return 'ALTER TABLE '.$tableIdentifier->getQuotedName($platform).' AUTO_INCREMENT = 1;';
|
||||
}
|
||||
|
||||
throw new \RuntimeException("Resetting autoincrement is not supported on this platform!");
|
||||
|
||||
//This seems to cause problems somehow
|
||||
/*if ($platform instanceof SqlitePlatform) {
|
||||
return 'DELETE FROM `sqlite_sequence` WHERE name = \''.$tableIdentifier->getQuotedName($platform).'\';';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue