mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 07:55:36 +00:00
add seafile scripts
This commit is contained in:
7
scripts/upgrade/sql/7.0.0/sqlite3/seafile.sql
Normal file
7
scripts/upgrade/sql/7.0.0/sqlite3/seafile.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
ALTER TABLE RepoInfo ADD COLUMN status INTEGER DEFAULT 0;
|
||||
CREATE TABLE IF NOT EXISTS RepoSyncError (token CHAR(41) PRIMARY KEY, error_time BIGINT, error_con VARCHAR(1024));
|
||||
ALTER TABLE RepoSyncError RENAME TO TmpRepoSyncError;
|
||||
CREATE TABLE RepoSyncError (token CHAR(41) PRIMARY KEY, error_time BIGINT, error_con VARCHAR(1024));
|
||||
INSERT INTO RepoSyncError SELECT * FROM TmpRepoSyncError;
|
||||
DROP TABLE TmpRepoSyncError;
|
||||
CREATE TABLE IF NOT EXISTS WebUploadTempFiles (repo_id CHAR(40) NOT NULL, file_path TEXT NOT NULL, tmp_file_path TEXT NOT NULL);
|
Reference in New Issue
Block a user