1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 02:42:40 +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);