diff --git a/common/src/main/resources/me/lucko/luckperms/schema/h2.sql b/common/src/main/resources/me/lucko/luckperms/schema/h2.sql index 4ef4b7a95..e3d6b6233 100644 --- a/common/src/main/resources/me/lucko/luckperms/schema/h2.sql +++ b/common/src/main/resources/me/lucko/luckperms/schema/h2.sql @@ -6,7 +6,7 @@ CREATE TABLE `{prefix}user_permissions` ( `permission` VARCHAR(200) NOT NULL, `value` BOOL NOT NULL, `server` VARCHAR(36) NOT NULL, - `world` VARCHAR(36) NOT NULL, + `world` VARCHAR(64) NOT NULL, `expiry` BIGINT NOT NULL, `contexts` VARCHAR(200) NOT NULL, PRIMARY KEY (`id`) @@ -19,7 +19,7 @@ CREATE TABLE `{prefix}group_permissions` ( `permission` VARCHAR(200) NOT NULL, `value` BOOL NOT NULL, `server` VARCHAR(36) NOT NULL, - `world` VARCHAR(36) NOT NULL, + `world` VARCHAR(64) NOT NULL, `expiry` BIGINT NOT NULL, `contexts` VARCHAR(200) NOT NULL, PRIMARY KEY (`id`) @@ -55,4 +55,4 @@ CREATE TABLE `{prefix}tracks` ( `name` VARCHAR(36) NOT NULL, `groups` TEXT NOT NULL, PRIMARY KEY (`name`) -); \ No newline at end of file +); diff --git a/common/src/main/resources/me/lucko/luckperms/schema/mariadb.sql b/common/src/main/resources/me/lucko/luckperms/schema/mariadb.sql index 086e407c7..47eb75378 100644 --- a/common/src/main/resources/me/lucko/luckperms/schema/mariadb.sql +++ b/common/src/main/resources/me/lucko/luckperms/schema/mariadb.sql @@ -6,7 +6,7 @@ CREATE TABLE `{prefix}user_permissions` ( `permission` VARCHAR(200) NOT NULL, `value` BOOL NOT NULL, `server` VARCHAR(36) NOT NULL, - `world` VARCHAR(36) NOT NULL, + `world` VARCHAR(64) NOT NULL, `expiry` BIGINT NOT NULL, `contexts` VARCHAR(200) NOT NULL, PRIMARY KEY (`id`) @@ -19,7 +19,7 @@ CREATE TABLE `{prefix}group_permissions` ( `permission` VARCHAR(200) NOT NULL, `value` BOOL NOT NULL, `server` VARCHAR(36) NOT NULL, - `world` VARCHAR(36) NOT NULL, + `world` VARCHAR(64) NOT NULL, `expiry` BIGINT NOT NULL, `contexts` VARCHAR(200) NOT NULL, PRIMARY KEY (`id`) @@ -55,4 +55,4 @@ CREATE TABLE `{prefix}tracks` ( `name` VARCHAR(36) NOT NULL, `groups` TEXT NOT NULL, PRIMARY KEY (`name`) -) DEFAULT CHARSET = utf8mb4; \ No newline at end of file +) DEFAULT CHARSET = utf8mb4; diff --git a/common/src/main/resources/me/lucko/luckperms/schema/mysql.sql b/common/src/main/resources/me/lucko/luckperms/schema/mysql.sql index 97ea20e23..516667563 100644 --- a/common/src/main/resources/me/lucko/luckperms/schema/mysql.sql +++ b/common/src/main/resources/me/lucko/luckperms/schema/mysql.sql @@ -6,7 +6,7 @@ CREATE TABLE `{prefix}user_permissions` ( `permission` VARCHAR(200) NOT NULL, `value` BOOL NOT NULL, `server` VARCHAR(36) NOT NULL, - `world` VARCHAR(36) NOT NULL, + `world` VARCHAR(64) NOT NULL, `expiry` BIGINT NOT NULL, `contexts` VARCHAR(200) NOT NULL, PRIMARY KEY (`id`) @@ -19,7 +19,7 @@ CREATE TABLE `{prefix}group_permissions` ( `permission` VARCHAR(200) NOT NULL, `value` BOOL NOT NULL, `server` VARCHAR(36) NOT NULL, - `world` VARCHAR(36) NOT NULL, + `world` VARCHAR(64) NOT NULL, `expiry` BIGINT NOT NULL, `contexts` VARCHAR(200) NOT NULL, PRIMARY KEY (`id`) @@ -55,4 +55,4 @@ CREATE TABLE `{prefix}tracks` ( `name` VARCHAR(36) NOT NULL, `groups` TEXT NOT NULL, PRIMARY KEY (`name`) -) DEFAULT CHARSET = utf8mb4; \ No newline at end of file +) DEFAULT CHARSET = utf8mb4; diff --git a/common/src/main/resources/me/lucko/luckperms/schema/postgresql.sql b/common/src/main/resources/me/lucko/luckperms/schema/postgresql.sql index 2b1387ebd..b0e9395dd 100644 --- a/common/src/main/resources/me/lucko/luckperms/schema/postgresql.sql +++ b/common/src/main/resources/me/lucko/luckperms/schema/postgresql.sql @@ -6,7 +6,7 @@ CREATE TABLE "{prefix}user_permissions" ( "permission" VARCHAR(200) NOT NULL, "value" BOOL NOT NULL, "server" VARCHAR(36) NOT NULL, - "world" VARCHAR(36) NOT NULL, + "world" VARCHAR(64) NOT NULL, "expiry" BIGINT NOT NULL, "contexts" VARCHAR(200) NOT NULL ); @@ -18,7 +18,7 @@ CREATE TABLE "{prefix}group_permissions" ( "permission" VARCHAR(200) NOT NULL, "value" BOOL NOT NULL, "server" VARCHAR(36) NOT NULL, - "world" VARCHAR(36) NOT NULL, + "world" VARCHAR(64) NOT NULL, "expiry" BIGINT NOT NULL, "contexts" VARCHAR(200) NOT NULL ); @@ -49,4 +49,4 @@ CREATE TABLE "{prefix}actions" ( CREATE TABLE "{prefix}tracks" ( "name" VARCHAR(36) PRIMARY KEY NOT NULL, "groups" TEXT NOT NULL -); \ No newline at end of file +); diff --git a/common/src/main/resources/me/lucko/luckperms/schema/sqlite.sql b/common/src/main/resources/me/lucko/luckperms/schema/sqlite.sql index cb2336947..d6d49d24a 100644 --- a/common/src/main/resources/me/lucko/luckperms/schema/sqlite.sql +++ b/common/src/main/resources/me/lucko/luckperms/schema/sqlite.sql @@ -6,7 +6,7 @@ CREATE TABLE `{prefix}user_permissions` ( `permission` VARCHAR(200) NOT NULL, `value` BOOL NOT NULL, `server` VARCHAR(36) NOT NULL, - `world` VARCHAR(36) NOT NULL, + `world` VARCHAR(64) NOT NULL, `expiry` BIGINT NOT NULL, `contexts` VARCHAR(200) NOT NULL ); @@ -18,7 +18,7 @@ CREATE TABLE `{prefix}group_permissions` ( `permission` VARCHAR(200) NOT NULL, `value` BOOL NOT NULL, `server` VARCHAR(36) NOT NULL, - `world` VARCHAR(36) NOT NULL, + `world` VARCHAR(64) NOT NULL, `expiry` BIGINT NOT NULL, `contexts` VARCHAR(200) NOT NULL ); @@ -52,4 +52,4 @@ CREATE TABLE `{prefix}tracks` ( `name` VARCHAR(36) NOT NULL, `groups` TEXT NOT NULL, PRIMARY KEY (`name`) -); \ No newline at end of file +);