Increase world column max length (#2334)

This commit is contained in:
Joshua Schmitt 2020-05-27 08:02:53 -05:00 committed by GitHub
parent 0bb4161397
commit dc32c84bb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 15 deletions

View File

@ -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`)
);
);

View File

@ -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;
) DEFAULT CHARSET = utf8mb4;

View File

@ -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;
) DEFAULT CHARSET = utf8mb4;

View File

@ -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
);
);

View File

@ -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`)
);
);