mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
database fix for sqlite as well
This commit is contained in:
parent
61a0f1e713
commit
1c4feb5f20
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue