From e16d85224807ad157fc0daeb97ba72d23436da20 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 11 Oct 2017 14:07:01 -0400 Subject: [PATCH] make DiskSpace be a bigint --- db/zm_create.sql.in | 2 +- db/zm_update-1.31.8.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/zm_create.sql.in b/db/zm_create.sql.in index 2e7250ae0..1b45b1216 100644 --- a/db/zm_create.sql.in +++ b/db/zm_create.sql.in @@ -207,7 +207,7 @@ CREATE TABLE `Events` ( `Notes` text, `StateId` int(10) unsigned NOT NULL, `Orientation` enum('0','90','180','270','hori','vert') NOT NULL default '0', - `DiskSpace` integer unsigned default NULL, + `DiskSpace` bigint unsigned default NULL, PRIMARY KEY (`Id`,`MonitorId`), KEY `MonitorId` (`MonitorId`), KEY `StartTime` (`StartTime`), diff --git a/db/zm_update-1.31.8.sql b/db/zm_update-1.31.8.sql index 40255b7d9..70063ebb6 100644 --- a/db/zm_update-1.31.8.sql +++ b/db/zm_update-1.31.8.sql @@ -10,7 +10,7 @@ SET @s = (SELECT IF( AND column_name = 'DiskSpace' ) > 0, "SELECT 'Column DiskSpace exists in Events'", -"ALTER TABLE Events ADD `DiskSpace` integer unsigned default null AFTER `Orientation`" +"ALTER TABLE Events ADD `DiskSpace` bigint unsigned default null AFTER `Orientation`" )); PREPARE stmt FROM @s;