From 31d2790075fa60a682cd626036cd0faac976db3e Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Tue, 15 Mar 2011 20:51:53 +0000 Subject: [PATCH] durf durf sql --- resources/sql/patches/006.repository.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/sql/patches/006.repository.sql b/resources/sql/patches/006.repository.sql index 4f1e83f948..0b95ef8280 100644 --- a/resources/sql/patches/006.repository.sql +++ b/resources/sql/patches/006.repository.sql @@ -9,7 +9,7 @@ create table phabricator_repository.repository_commitdata ( ALTER TABLE phabricator_worker.worker_task drop priority; ALTER TABLE phabricator_worker.worker_task drop key leaseOwner; -ALTER TABLE phabricator_worker.worker_task drop key (leaseOwner(16)); +ALTER TABLE phabricator_worker.worker_task add key (leaseOwner(16)); create table phabricator_repository.repository_path ( id int unsigned not null auto_increment primary key, @@ -41,7 +41,7 @@ create table phabricator_repository.repository_filesystem ( primary key (repositoryID, parentID, svnCommit, pathID) ); -alter table repository_filesystem add key (repositoryID, svnCommit); +alter table phabricator_repository.repository_filesystem add key (repositoryID, svnCommit); truncate phabricator_repository.repository_commit; alter table phabricator_repository.repository_commit @@ -53,4 +53,4 @@ alter table phabricator_repository.repository_commit add key (repositoryID, epoch); alter table phabricator_repository.repository_filesystem - add key (repositoryID, pathID, svnCommit); \ No newline at end of file + add key (repositoryID, pathID, svnCommit);