1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-02 07:54:27 +00:00

Add column type to RepoInfo (#660)

* Add column type to RepoInfo

* Go fileserver check repo type

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2024-06-19 12:20:38 +08:00
committed by GitHub
parent 84eb58f01c
commit cd9bae2002
9 changed files with 120 additions and 47 deletions

View File

@@ -178,7 +178,9 @@ CREATE TABLE IF NOT EXISTS RepoInfo (id BIGINT NOT NULL PRIMARY KEY AUTO_INCREME
is_encrypted INTEGER,
last_modifier VARCHAR(255),
status INTEGER DEFAULT 0,
UNIQUE INDEX(repo_id)
type VARCHAR(10),
UNIQUE INDEX(repo_id),
INDEX (type)
) ENGINE=INNODB;
CREATE TABLE IF NOT EXISTS RepoOwner (