From 0c63117237afd70440722011d9282a8aea449514 Mon Sep 17 00:00:00 2001 From: Michal Kostenec <kostenec@civ.zcu.cz> Date: Thu, 22 Nov 2012 16:14:40 +0100 Subject: [PATCH] Oprava unsigned poli --- src/warden-server/doc/warden20to21.patch | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/warden-server/doc/warden20to21.patch b/src/warden-server/doc/warden20to21.patch index ef22e9e..bf9c15f 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; -- GitLab