From eb5f0b370e82a564a6669d37d7fc3ad9b9a3e214 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 12 Dec 2016 22:23:56 -0500 Subject: [PATCH] fix type of Config.DefaultValue and add NOT NULL to Message --- db/zm_update-1.30.10.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/db/zm_update-1.30.10.sql b/db/zm_update-1.30.10.sql index 8ac0a5ade..651f52a55 100644 --- a/db/zm_update-1.30.10.sql +++ b/db/zm_update-1.30.10.sql @@ -3,4 +3,7 @@ -- Alter type of Messages column from VARCHAR(255) to TEXT -- -ALTER TABLE Logs MODIFY Message TEXT; +-- ALTER TABLE Logs ALTER Message DROP DEFAULT; +ALTER TABLE Logs MODIFY Message TEXT NOT NULL; + +ALTER TABLE Config MODIFY DefaultValue TEXT;