1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-16 23:29:25 +00:00

fix 8.0 sql (#436)

This commit is contained in:
欢乐马
2021-01-04 11:18:30 +08:00
committed by GitHub
parent 3130d27b5d
commit 686755f474
4 changed files with 13 additions and 15 deletions

View File

@@ -0,0 +1,4 @@
ALTER TABLE `VirusFile` ADD COLUMN IF NOT EXISTS `has_ignored` TINYINT(1) NOT NULL DEFAULT 0;
ALTER TABLE `VirusFile` CHANGE `has_handle` `has_deleted` TINYINT(1);
ALTER TABLE `VirusFile` ADD INDEX IF NOT EXISTS `has_deleted` (`has_deleted`);
ALTER TABLE `VirusFile` ADD INDEX IF NOT EXISTS `has_ignored` (`has_ignored`);