Skip to content

Commit

Permalink
Update seafile.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
abcdot committed Apr 3, 2019
1 parent 41462e6 commit db48a68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/upgrade/sql/7.0.0/mysql/seafile.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ALTER TABLE RepoInfo ADD COLUMN status INTEGER DEFAULT 0;
ALTER TABLE RepoSyncError ALTER COLUMN error_con VARCHAR(1024);
ALTER TABLE RepoSyncError MODIFY COLUMN error_con VARCHAR(1024);
5 changes: 5 additions & 0 deletions scripts/upgrade/sql/7.0.0/sqlite3/seafile.sql
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit db48a68

Please sign in to comment.