need this update that converts StorageId to NOT NULL default 0

This commit is contained in:
Isaac Connor 2016-09-16 09:00:34 -04:00
parent 85b2ba73ab
commit 18ae1298c4
1 changed files with 8 additions and 0 deletions

8
db/zm_update-1.30.7.sql Normal file
View File

@ -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;