diff --git a/src/warden-server/doc/warden20to21.patch b/src/warden-server/doc/warden20to21.patch index ef22e9e5e2bd08c20d4352979cc61e6cfcf84b16..bf9c15fd92573c5b31eb2e16285634a53d40431a 100644 --- a/src/warden-server/doc/warden20to21.patch +++ b/src/warden-server/doc/warden20to21.patch @@ -1,2 +1,8 @@ ALTER TABLE `clients` CHANGE `registered` `registered` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00'; -ALTER TABLE `events` CHANGE `detected` `detected` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00'; + +ALTER TABLE `events` +CHANGE `detected` `detected` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00', +CHANGE `target_port` `target_port` INT( 2 ) UNSIGNED DEFAULT NULL , +CHANGE `attack_scale` `attack_scale` INT( 4 ) UNSIGNED DEFAULT NULL , +CHANGE `priority` `priority` INT( 1 ) UNSIGNED DEFAULT NULL , +CHANGE `timeout` `timeout` INT( 2 ) UNSIGNED DEFAULT NULL;