zoneminder/db/zm_update-1.30.7.sql

9 lines
265 B
SQL

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