1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-16 03:42:41 +01:00
phorge-phorge/resources/sql/patches/008.repoopt.sql

6 lines
282 B
MySQL
Raw Normal View History

ALTER TABLE {$NAMESPACE}_repository.repository_filesystem DROP PRIMARY KEY;
ALTER TABLE {$NAMESPACE}_repository.repository_filesystem
DROP KEY repositoryID_2;
ALTER TABLE {$NAMESPACE}_repository.repository_filesystem
ADD PRIMARY KEY (repositoryID, parentID, pathID, svnCommit);