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 ); } diff --git a/src/main/resources/settings.yml b/src/main/resources/settings.yml index e324154..3e48dbf 100755 --- a/src/main/resources/settings.yml +++ b/src/main/resources/settings.yml @@ -15,4 +15,6 @@ sign: title: '&f[&6&lOperator&f]' scan: name: '[TicketScan]' - title: '&f[&6&lTicketScan&f]' \ No newline at end of file + title: '&f[&6&lTicketScan&f]' + +actionfoto: false