mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-09-09 12:38:01 +02:00
Fix Year 2038 problem for future installs (#2126)
This commit is contained in:
parent
045c10048d
commit
f6460c2802
@ -7,7 +7,7 @@ CREATE TABLE `{prefix}user_permissions` (
|
|||||||
`value` BOOL NOT NULL,
|
`value` BOOL NOT NULL,
|
||||||
`server` VARCHAR(36) NOT NULL,
|
`server` VARCHAR(36) NOT NULL,
|
||||||
`world` VARCHAR(36) NOT NULL,
|
`world` VARCHAR(36) NOT NULL,
|
||||||
`expiry` INT(11) NOT NULL,
|
`expiry` BIGINT NOT NULL,
|
||||||
`contexts` VARCHAR(200) NOT NULL,
|
`contexts` VARCHAR(200) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
);
|
);
|
||||||
@ -20,7 +20,7 @@ CREATE TABLE `{prefix}group_permissions` (
|
|||||||
`value` BOOL NOT NULL,
|
`value` BOOL NOT NULL,
|
||||||
`server` VARCHAR(36) NOT NULL,
|
`server` VARCHAR(36) NOT NULL,
|
||||||
`world` VARCHAR(36) NOT NULL,
|
`world` VARCHAR(36) NOT NULL,
|
||||||
`expiry` INT(11) NOT NULL,
|
`expiry` BIGINT NOT NULL,
|
||||||
`contexts` VARCHAR(200) NOT NULL,
|
`contexts` VARCHAR(200) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
);
|
);
|
||||||
|
@ -7,7 +7,7 @@ CREATE TABLE `{prefix}user_permissions` (
|
|||||||
`value` BOOL NOT NULL,
|
`value` BOOL NOT NULL,
|
||||||
`server` VARCHAR(36) NOT NULL,
|
`server` VARCHAR(36) NOT NULL,
|
||||||
`world` VARCHAR(36) NOT NULL,
|
`world` VARCHAR(36) NOT NULL,
|
||||||
`expiry` INT(11) NOT NULL,
|
`expiry` BIGINT NOT NULL,
|
||||||
`contexts` VARCHAR(200) NOT NULL,
|
`contexts` VARCHAR(200) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) DEFAULT CHARSET = utf8mb4;
|
) DEFAULT CHARSET = utf8mb4;
|
||||||
@ -20,7 +20,7 @@ CREATE TABLE `{prefix}group_permissions` (
|
|||||||
`value` BOOL NOT NULL,
|
`value` BOOL NOT NULL,
|
||||||
`server` VARCHAR(36) NOT NULL,
|
`server` VARCHAR(36) NOT NULL,
|
||||||
`world` VARCHAR(36) NOT NULL,
|
`world` VARCHAR(36) NOT NULL,
|
||||||
`expiry` INT(11) NOT NULL,
|
`expiry` BIGINT NOT NULL,
|
||||||
`contexts` VARCHAR(200) NOT NULL,
|
`contexts` VARCHAR(200) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) DEFAULT CHARSET = utf8mb4;
|
) DEFAULT CHARSET = utf8mb4;
|
||||||
|
@ -7,7 +7,7 @@ CREATE TABLE `{prefix}user_permissions` (
|
|||||||
`value` BOOL NOT NULL,
|
`value` BOOL NOT NULL,
|
||||||
`server` VARCHAR(36) NOT NULL,
|
`server` VARCHAR(36) NOT NULL,
|
||||||
`world` VARCHAR(36) NOT NULL,
|
`world` VARCHAR(36) NOT NULL,
|
||||||
`expiry` INT(11) NOT NULL,
|
`expiry` BIGINT NOT NULL,
|
||||||
`contexts` VARCHAR(200) NOT NULL,
|
`contexts` VARCHAR(200) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) DEFAULT CHARSET = utf8mb4;
|
) DEFAULT CHARSET = utf8mb4;
|
||||||
@ -20,7 +20,7 @@ CREATE TABLE `{prefix}group_permissions` (
|
|||||||
`value` BOOL NOT NULL,
|
`value` BOOL NOT NULL,
|
||||||
`server` VARCHAR(36) NOT NULL,
|
`server` VARCHAR(36) NOT NULL,
|
||||||
`world` VARCHAR(36) NOT NULL,
|
`world` VARCHAR(36) NOT NULL,
|
||||||
`expiry` INT(11) NOT NULL,
|
`expiry` BIGINT NOT NULL,
|
||||||
`contexts` VARCHAR(200) NOT NULL,
|
`contexts` VARCHAR(200) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) DEFAULT CHARSET = utf8mb4;
|
) DEFAULT CHARSET = utf8mb4;
|
||||||
|
@ -7,7 +7,7 @@ CREATE TABLE "{prefix}user_permissions" (
|
|||||||
"value" BOOL NOT NULL,
|
"value" BOOL NOT NULL,
|
||||||
"server" VARCHAR(36) NOT NULL,
|
"server" VARCHAR(36) NOT NULL,
|
||||||
"world" VARCHAR(36) NOT NULL,
|
"world" VARCHAR(36) NOT NULL,
|
||||||
"expiry" INT NOT NULL,
|
"expiry" BIGINT NOT NULL,
|
||||||
"contexts" VARCHAR(200) NOT NULL
|
"contexts" VARCHAR(200) NOT NULL
|
||||||
);
|
);
|
||||||
CREATE INDEX "{prefix}user_permissions_uuid" ON "{prefix}user_permissions" ("uuid");
|
CREATE INDEX "{prefix}user_permissions_uuid" ON "{prefix}user_permissions" ("uuid");
|
||||||
@ -19,7 +19,7 @@ CREATE TABLE "{prefix}group_permissions" (
|
|||||||
"value" BOOL NOT NULL,
|
"value" BOOL NOT NULL,
|
||||||
"server" VARCHAR(36) NOT NULL,
|
"server" VARCHAR(36) NOT NULL,
|
||||||
"world" VARCHAR(36) NOT NULL,
|
"world" VARCHAR(36) NOT NULL,
|
||||||
"expiry" INT NOT NULL,
|
"expiry" BIGINT NOT NULL,
|
||||||
"contexts" VARCHAR(200) NOT NULL
|
"contexts" VARCHAR(200) NOT NULL
|
||||||
);
|
);
|
||||||
CREATE INDEX "{prefix}group_permissions_name" ON "{prefix}group_permissions" ("name");
|
CREATE INDEX "{prefix}group_permissions_name" ON "{prefix}group_permissions" ("name");
|
||||||
|
@ -7,7 +7,7 @@ CREATE TABLE `{prefix}user_permissions` (
|
|||||||
`value` BOOL NOT NULL,
|
`value` BOOL NOT NULL,
|
||||||
`server` VARCHAR(36) NOT NULL,
|
`server` VARCHAR(36) NOT NULL,
|
||||||
`world` VARCHAR(36) NOT NULL,
|
`world` VARCHAR(36) NOT NULL,
|
||||||
`expiry` INT(11) NOT NULL,
|
`expiry` BIGINT NOT NULL,
|
||||||
`contexts` VARCHAR(200) NOT NULL
|
`contexts` VARCHAR(200) NOT NULL
|
||||||
);
|
);
|
||||||
CREATE INDEX `{prefix}user_permissions_uuid` ON `{prefix}user_permissions` (`uuid`);
|
CREATE INDEX `{prefix}user_permissions_uuid` ON `{prefix}user_permissions` (`uuid`);
|
||||||
@ -19,7 +19,7 @@ CREATE TABLE `{prefix}group_permissions` (
|
|||||||
`value` BOOL NOT NULL,
|
`value` BOOL NOT NULL,
|
||||||
`server` VARCHAR(36) NOT NULL,
|
`server` VARCHAR(36) NOT NULL,
|
||||||
`world` VARCHAR(36) NOT NULL,
|
`world` VARCHAR(36) NOT NULL,
|
||||||
`expiry` INT(11) NOT NULL,
|
`expiry` BIGINT NOT NULL,
|
||||||
`contexts` VARCHAR(200) NOT NULL
|
`contexts` VARCHAR(200) NOT NULL
|
||||||
);
|
);
|
||||||
CREATE INDEX `{prefix}group_permissions_name` ON `{prefix}group_permissions` (`name`);
|
CREATE INDEX `{prefix}group_permissions_name` ON `{prefix}group_permissions` (`name`);
|
||||||
|
Loading…
Reference in New Issue
Block a user