database fix for sqlite as well

This commit is contained in:
PhanaticD 2019-01-09 15:44:12 -05:00
parent 61a0f1e713
commit 1c4feb5f20

View file

@ -111,7 +111,7 @@ public class DBConnection {
} }
if (!sql.tableExists("pk_cooldowns")) { if (!sql.tableExists("pk_cooldowns")) {
ProjectKorra.log.info("Creating pk_cooldowns table"); ProjectKorra.log.info("Creating pk_cooldowns table");
final String query = "CREATE TABLE `pk_cooldowns` (uuid TEXT(36) PRIMARY KEY, cooldown_id INTEGER NOT NULL, value BIGINT);"; final String query = "CREATE TABLE `pk_cooldowns` (uuid TEXT(36) NOT NULL, cooldown_id INTEGER NOT NULL, value BIGINT);";
sql.modifyQuery(query, false); sql.modifyQuery(query, false);
} }
} }