From 3ad3b5c5c656b07a1c8a726823a26146ed72ada3 Mon Sep 17 00:00:00 2001 From: Stijn Bannink Date: Sun, 4 Sep 2022 20:53:35 +0200 Subject: [PATCH] Updated datatype of actionfotos image column --- .../themeparkconnector/api/load/objects/DatabaseLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/nl/iobyte/themeparkconnector/api/load/objects/DatabaseLoader.java b/src/main/java/nl/iobyte/themeparkconnector/api/load/objects/DatabaseLoader.java index 80f2fdd..835ac2a 100755 --- a/src/main/java/nl/iobyte/themeparkconnector/api/load/objects/DatabaseLoader.java +++ b/src/main/java/nl/iobyte/themeparkconnector/api/load/objects/DatabaseLoader.java @@ -21,7 +21,7 @@ public class DatabaseLoader implements IDataLoader { if(ThemeParkConnector.getInstance().getAPI().getConfigurationManager().getBoolean(StorageKey.ACTIONFOTO)) { service.execute( "remote", - "CREATE TABLE IF NOT EXISTS actionfotos (id BIGINT(20) NOT NULL AUTO_INCREMENT, uuid VARCHAR(256) NOT NULL, ride VARCHAR(256) NOT NULL, base64 BLOB NOT NULL, date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP(), UNIQUE(uuid, ride), PRIMARY KEY(id))", + "CREATE TABLE IF NOT EXISTS actionfotos (id BIGINT(20) NOT NULL AUTO_INCREMENT, uuid VARCHAR(256) NOT NULL, ride VARCHAR(256) NOT NULL, base64 LONGBLOB NOT NULL, date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP(), UNIQUE(uuid, ride), PRIMARY KEY(id))", null ); }