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;