Fix Year 2038 problem for future installs (#2126)

This commit is contained in:
Luck 2020-05-06 00:13:19 +01:00
parent 045c10048d
commit f6460c2802
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
5 changed files with 10 additions and 10 deletions

View File

@ -7,7 +7,7 @@ CREATE TABLE `{prefix}user_permissions` (
`value` BOOL NOT NULL,
`server` VARCHAR(36) NOT NULL,
`world` VARCHAR(36) NOT NULL,
`expiry` INT(11) NOT NULL,
`expiry` BIGINT NOT NULL,
`contexts` VARCHAR(200) NOT NULL,
PRIMARY KEY (`id`)
);
@ -20,7 +20,7 @@ CREATE TABLE `{prefix}group_permissions` (
`value` BOOL NOT NULL,
`server` VARCHAR(36) NOT NULL,
`world` VARCHAR(36) NOT NULL,
`expiry` INT(11) NOT NULL,
`expiry` BIGINT NOT NULL,
`contexts` VARCHAR(200) NOT NULL,
PRIMARY KEY (`id`)
);

View File

@ -7,7 +7,7 @@ CREATE TABLE `{prefix}user_permissions` (
`value` BOOL NOT NULL,
`server` VARCHAR(36) NOT NULL,
`world` VARCHAR(36) NOT NULL,
`expiry` INT(11) NOT NULL,
`expiry` BIGINT NOT NULL,
`contexts` VARCHAR(200) NOT NULL,
PRIMARY KEY (`id`)
) DEFAULT CHARSET = utf8mb4;
@ -20,7 +20,7 @@ CREATE TABLE `{prefix}group_permissions` (
`value` BOOL NOT NULL,
`server` VARCHAR(36) NOT NULL,
`world` VARCHAR(36) NOT NULL,
`expiry` INT(11) NOT NULL,
`expiry` BIGINT NOT NULL,
`contexts` VARCHAR(200) NOT NULL,
PRIMARY KEY (`id`)
) DEFAULT CHARSET = utf8mb4;

View File

@ -7,7 +7,7 @@ CREATE TABLE `{prefix}user_permissions` (
`value` BOOL NOT NULL,
`server` VARCHAR(36) NOT NULL,
`world` VARCHAR(36) NOT NULL,
`expiry` INT(11) NOT NULL,
`expiry` BIGINT NOT NULL,
`contexts` VARCHAR(200) NOT NULL,
PRIMARY KEY (`id`)
) DEFAULT CHARSET = utf8mb4;
@ -20,7 +20,7 @@ CREATE TABLE `{prefix}group_permissions` (
`value` BOOL NOT NULL,
`server` VARCHAR(36) NOT NULL,
`world` VARCHAR(36) NOT NULL,
`expiry` INT(11) NOT NULL,
`expiry` BIGINT NOT NULL,
`contexts` VARCHAR(200) NOT NULL,
PRIMARY KEY (`id`)
) DEFAULT CHARSET = utf8mb4;

View File

@ -7,7 +7,7 @@ CREATE TABLE "{prefix}user_permissions" (
"value" BOOL NOT NULL,
"server" VARCHAR(36) NOT NULL,
"world" VARCHAR(36) NOT NULL,
"expiry" INT NOT NULL,
"expiry" BIGINT NOT NULL,
"contexts" VARCHAR(200) NOT NULL
);
CREATE INDEX "{prefix}user_permissions_uuid" ON "{prefix}user_permissions" ("uuid");
@ -19,7 +19,7 @@ CREATE TABLE "{prefix}group_permissions" (
"value" BOOL NOT NULL,
"server" VARCHAR(36) NOT NULL,
"world" VARCHAR(36) NOT NULL,
"expiry" INT NOT NULL,
"expiry" BIGINT NOT NULL,
"contexts" VARCHAR(200) NOT NULL
);
CREATE INDEX "{prefix}group_permissions_name" ON "{prefix}group_permissions" ("name");

View File

@ -7,7 +7,7 @@ CREATE TABLE `{prefix}user_permissions` (
`value` BOOL NOT NULL,
`server` VARCHAR(36) NOT NULL,
`world` VARCHAR(36) NOT NULL,
`expiry` INT(11) NOT NULL,
`expiry` BIGINT NOT NULL,
`contexts` VARCHAR(200) NOT NULL
);
CREATE INDEX `{prefix}user_permissions_uuid` ON `{prefix}user_permissions` (`uuid`);
@ -19,7 +19,7 @@ CREATE TABLE `{prefix}group_permissions` (
`value` BOOL NOT NULL,
`server` VARCHAR(36) NOT NULL,
`world` VARCHAR(36) NOT NULL,
`expiry` INT(11) NOT NULL,
`expiry` BIGINT NOT NULL,
`contexts` VARCHAR(200) NOT NULL
);
CREATE INDEX `{prefix}group_permissions_name` ON `{prefix}group_permissions` (`name`);