1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-28 03:20:41 +00:00
seafile-server/scripts/upgrade/sql/8.0.0/mysql/seafevents.sql
2021-01-04 11:18:30 +08:00

5 lines
322 B
SQL

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`);