1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-07-15 16:01:38 +00:00
seafile-server/scripts/upgrade/sql/8.0.0/mysql/seafevents.sql

5 lines
322 B
MySQL
Raw Normal View History

2021-01-04 03:18:30 +00:00
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`);