From 18ae1298c45c898c64e42fff56563e73d81feede Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 16 Sep 2016 09:00:34 -0400 Subject: [PATCH] need this update that converts StorageId to NOT NULL default 0 --- db/zm_update-1.30.7.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/zm_update-1.30.7.sql diff --git a/db/zm_update-1.30.7.sql b/db/zm_update-1.30.7.sql new file mode 100644 index 000000000..06d829c88 --- /dev/null +++ b/db/zm_update-1.30.7.sql @@ -0,0 +1,8 @@ +-- +-- This updates a 1.30.6 database to 1.30.7 +-- +-- Changing StorageId to be NOT NULL and default 0 +-- + +ALTER TABLE Monitors MODIFY `StorageId` smallint(5) unsigned NOT NULL default 0; +ALTER TABLE Events MODIFY `StorageId` smallint(5) unsigned NOT NULL default 0;