1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 01:41:39 +00:00

rm ADD INDEX IF NOT EXISTS in sql (#7543)

This commit is contained in:
欢乐马
2025-03-03 15:59:30 +08:00
committed by GitHub
parent 43c28a8466
commit 8ae5eedf03
2 changed files with 7 additions and 7 deletions

View File

@@ -18,5 +18,5 @@ CREATE TABLE IF NOT EXISTS OrgUploadRateLimit (
UNIQUE INDEX(org_id)
) ENGINE=INNODB;
ALTER TABLE RepoInfo ADD COLUMN IF NOT EXISTS type varchar(10);
CREATE INDEX IF NOT EXISTS RepoInfoTypeIndex on RepoInfo (type);
ALTER TABLE RepoInfo ADD COLUMN type varchar(10);
CREATE INDEX RepoInfoTypeIndex on RepoInfo (type);