mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
add seafile scripts
This commit is contained in:
14
scripts/upgrade/sql/4.1.0/sqlite3/seafile.sql
Normal file
14
scripts/upgrade/sql/4.1.0/sqlite3/seafile.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
CREATE INDEX IF NOT EXISTS FromEmailIndex on SharedRepo (from_email);
|
||||
CREATE INDEX IF NOT EXISTS ToEmailIndex on SharedRepo (to_email);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS RepoTrash (
|
||||
repo_id CHAR(36) PRIMARY KEY,
|
||||
repo_name VARCHAR(255),
|
||||
head_id CHAR(40),
|
||||
owner_id VARCHAR(255),
|
||||
size BIGINT UNSIGNED,
|
||||
org_id INTEGER
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS repotrash_owner_id_idx ON RepoTrash(owner_id);
|
||||
CREATE INDEX IF NOT EXISTS repotrash_org_id_idx ON RepoTrash(org_id);
|
Reference in New Issue
Block a user