From 1ff17c97b8f88fe539366b77ce983d923c7ee8cd Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 2 Apr 2018 09:04:09 -0700 Subject: [PATCH] Add DoDelete to Storage and Locked to Events --- db/zm_create.sql.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/zm_create.sql.in b/db/zm_create.sql.in index fe05585e4..fae8424b9 100644 --- a/db/zm_create.sql.in +++ b/db/zm_create.sql.in @@ -210,6 +210,7 @@ CREATE TABLE `Events` ( `Orientation` enum('0','90','180','270','hori','vert') NOT NULL default '0', `DiskSpace` bigint unsigned default NULL, `Scheme` enum('Deep','Medium','Shallow') NOT NULL default 'Medium', + `Locked` BOOLEAN NOT NULL DEFAULT False, PRIMARY KEY (`Id`), KEY `Events_MonitorId_idx` (`MonitorId`), KEY `Events_StorageId_idx` (`StorageId`), @@ -973,6 +974,7 @@ CREATE TABLE `Storage` ( `DiskSpace` bigint default NULL, `Scheme` enum('Deep','Medium','Shallow') NOT NULL default 'Medium', `ServerId` int(10) unsigned, + `DoDelete` BOOLEAN NOT NULL DEFAULT true, PRIMARY KEY (`Id`) ) ENGINE=@ZM_MYSQL_ENGINE@;