1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-05 01:11:05 +00:00

update sql

This commit is contained in:
ilearnit
2019-04-02 05:38:50 +00:00
committed by cuihaikuo
parent 6ce5e5abfb
commit 72fe30c4e6
7 changed files with 398 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
ALTER TABLE RepoInfo ADD COLUMN status INTEGER DEFAULT 0;
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;