mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-19 14:59:19 +00:00
Database migration fix
This commit is contained in:
@@ -53,8 +53,8 @@ dependencies {
|
|||||||
exclude("org.bukkit")
|
exclude("org.bukkit")
|
||||||
exclude("org.spigotmc")
|
exclude("org.spigotmc")
|
||||||
}
|
}
|
||||||
compileOnly("org.flywaydb:flyway-core:11.1.0") // IMPLEMENTED VIA LIBRARIES - db migration
|
compileOnly("org.flywaydb:flyway-core:11.3.0") // IMPLEMENTED VIA LIBRARIES - db migration
|
||||||
compileOnly("org.flywaydb:flyway-mysql:11.1.0") // IMPLEMENTED VIA LIBRARIES
|
compileOnly("org.flywaydb:flyway-mysql:11.3.0") // IMPLEMENTED VIA LIBRARIES
|
||||||
//compileOnly 'com.zaxxer:HikariCP:2.4.1' // IMPLEMENTED VIA LIBRARIES - database
|
//compileOnly 'com.zaxxer:HikariCP:2.4.1' // IMPLEMENTED VIA LIBRARIES - database
|
||||||
compileOnly("me.clip:placeholderapi:2.11.6") // PAPI
|
compileOnly("me.clip:placeholderapi:2.11.6") // PAPI
|
||||||
compileOnly("com.github.MilkBowl:VaultAPI:1.7") { // vault
|
compileOnly("com.github.MilkBowl:VaultAPI:1.7") { // vault
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ settings:
|
|||||||
permission-based-cost: true
|
permission-based-cost: true
|
||||||
storage:
|
storage:
|
||||||
cache-expiry-time: 180 # Time in seconds after a cached account is considered invalid and must be saved
|
cache-expiry-time: 180 # Time in seconds after a cached account is considered invalid and must be saved
|
||||||
mode: file # Storage mode to use: sqlite, file, mysql. If you are dealing with lots of players, please use a mysql database.
|
mode: file # Storage mode to use: sqlite, file, sql. If you are dealing with lots of players, please use a mysql database.
|
||||||
sql: # SQL settings
|
sql: # SQL settings
|
||||||
host: localhost # If you are in a docker container, please use the docker IP. Should be something like 172.18.0.1 for pterodactyl users.
|
host: localhost # If you are in a docker container, please use the docker IP. Should be something like 172.18.0.1 for pterodactyl users.
|
||||||
port: 3306
|
port: 3306
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
CREATE TABLE IF NOT EXISTS rpgregions_timed_discoveries (uuid varchar(32) NOT NULL, region varchar(32) NOT NULL, start bigint(9223372036854775807) NOT NULL, latest bigint(9223372036854775807), PRIMARY KEY(uuid, region));
|
CREATE TABLE IF NOT EXISTS rpgregions_timed_discoveries (uuid varchar(32) NOT NULL, region varchar(32) NOT NULL, start bigint NOT NULL, latest bigint, PRIMARY KEY(uuid, region));
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ libraries:
|
|||||||
- "net.kyori:adventure-text-minimessage:4.14.0"
|
- "net.kyori:adventure-text-minimessage:4.14.0"
|
||||||
- "com.github.ben-manes.caffeine:caffeine:3.1.8"
|
- "com.github.ben-manes.caffeine:caffeine:3.1.8"
|
||||||
- "org.xerial:sqlite-jdbc:3.47.2.0"
|
- "org.xerial:sqlite-jdbc:3.47.2.0"
|
||||||
- "org.flywaydb:flyway-core:11.1.0" # db migration
|
- "org.flywaydb:flyway-core:11.3.0" # db migration
|
||||||
- "org.flywaydb:flyway-mysql:11.1.0"
|
- "org.flywaydb:flyway-mysql:11.3.0"
|
||||||
softdepend: [Hyperverse, Multiverse-Core, UltraRegions, WorldGuard, PlaceholderAPI, HeadDatabase, Residence, Plan, GriefPrevention, GriefDefender, Vault, MythicMobs, AlonsoLevels, dynmap, ProtocolLib, Quests, BetonQuest, Lands, MMOCore, CustomStructures]
|
softdepend: [Hyperverse, Multiverse-Core, UltraRegions, WorldGuard, PlaceholderAPI, HeadDatabase, Residence, Plan, GriefPrevention, GriefDefender, Vault, MythicMobs, AlonsoLevels, dynmap, ProtocolLib, Quests, BetonQuest, Lands, MMOCore, CustomStructures]
|
||||||
authors: [SamB440]
|
authors: [SamB440]
|
||||||
description: Utilise your protection plugin to create discoverable regions
|
description: Utilise your protection plugin to create discoverable regions
|
||||||
|
|||||||
Reference in New Issue
Block a user