mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-10-30 23:39:33 +01:00
Increase actor_name field length to account for changes to logging
This commit is contained in:
parent
fad8a38bdf
commit
c20b91d5ea
@ -198,7 +198,7 @@ public class SqlDao extends AbstractDao {
|
|||||||
// migrations
|
// migrations
|
||||||
try (Connection connection = provider.getConnection()) {
|
try (Connection connection = provider.getConnection()) {
|
||||||
try (Statement s = connection.createStatement()) {
|
try (Statement s = connection.createStatement()) {
|
||||||
s.execute(prefix.apply("ALTER TABLE {prefix}actions MODIFY COLUMN actor_name VARCHAR(36)"));
|
s.execute(prefix.apply("ALTER TABLE {prefix}actions MODIFY COLUMN actor_name VARCHAR(100)"));
|
||||||
s.execute(prefix.apply("ALTER TABLE {prefix}actions MODIFY COLUMN action VARCHAR(300)"));
|
s.execute(prefix.apply("ALTER TABLE {prefix}actions MODIFY COLUMN action VARCHAR(300)"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ CREATE TABLE `{prefix}actions` (
|
|||||||
`id` INT AUTO_INCREMENT NOT NULL,
|
`id` INT AUTO_INCREMENT NOT NULL,
|
||||||
`time` BIGINT NOT NULL,
|
`time` BIGINT NOT NULL,
|
||||||
`actor_uuid` VARCHAR(36) NOT NULL,
|
`actor_uuid` VARCHAR(36) NOT NULL,
|
||||||
`actor_name` VARCHAR(36) NOT NULL,
|
`actor_name` VARCHAR(100) NOT NULL,
|
||||||
`type` CHAR(1) NOT NULL,
|
`type` CHAR(1) NOT NULL,
|
||||||
`acted_uuid` VARCHAR(36) NOT NULL,
|
`acted_uuid` VARCHAR(36) NOT NULL,
|
||||||
`acted_name` VARCHAR(36) NOT NULL,
|
`acted_name` VARCHAR(36) NOT NULL,
|
||||||
|
@ -45,7 +45,7 @@ CREATE TABLE `{prefix}actions` (
|
|||||||
`id` INT AUTO_INCREMENT NOT NULL,
|
`id` INT AUTO_INCREMENT NOT NULL,
|
||||||
`time` BIGINT NOT NULL,
|
`time` BIGINT NOT NULL,
|
||||||
`actor_uuid` VARCHAR(36) NOT NULL,
|
`actor_uuid` VARCHAR(36) NOT NULL,
|
||||||
`actor_name` VARCHAR(36) NOT NULL,
|
`actor_name` VARCHAR(100) NOT NULL,
|
||||||
`type` CHAR(1) NOT NULL,
|
`type` CHAR(1) NOT NULL,
|
||||||
`acted_uuid` VARCHAR(36) NOT NULL,
|
`acted_uuid` VARCHAR(36) NOT NULL,
|
||||||
`acted_name` VARCHAR(36) NOT NULL,
|
`acted_name` VARCHAR(36) NOT NULL,
|
||||||
|
@ -45,7 +45,7 @@ CREATE TABLE `{prefix}actions` (
|
|||||||
`id` INT AUTO_INCREMENT NOT NULL,
|
`id` INT AUTO_INCREMENT NOT NULL,
|
||||||
`time` BIGINT NOT NULL,
|
`time` BIGINT NOT NULL,
|
||||||
`actor_uuid` VARCHAR(36) NOT NULL,
|
`actor_uuid` VARCHAR(36) NOT NULL,
|
||||||
`actor_name` VARCHAR(36) NOT NULL,
|
`actor_name` VARCHAR(100) NOT NULL,
|
||||||
`type` CHAR(1) NOT NULL,
|
`type` CHAR(1) NOT NULL,
|
||||||
`acted_uuid` VARCHAR(36) NOT NULL,
|
`acted_uuid` VARCHAR(36) NOT NULL,
|
||||||
`acted_name` VARCHAR(36) NOT NULL,
|
`acted_name` VARCHAR(36) NOT NULL,
|
||||||
|
@ -41,7 +41,7 @@ CREATE TABLE "{prefix}actions" (
|
|||||||
"id" SERIAL PRIMARY KEY NOT NULL,
|
"id" SERIAL PRIMARY KEY NOT NULL,
|
||||||
"time" BIGINT NOT NULL,
|
"time" BIGINT NOT NULL,
|
||||||
"actor_uuid" VARCHAR(36) NOT NULL,
|
"actor_uuid" VARCHAR(36) NOT NULL,
|
||||||
"actor_name" VARCHAR(36) NOT NULL,
|
"actor_name" VARCHAR(100) NOT NULL,
|
||||||
"type" CHAR(1) NOT NULL,
|
"type" CHAR(1) NOT NULL,
|
||||||
"acted_uuid" VARCHAR(36) NOT NULL,
|
"acted_uuid" VARCHAR(36) NOT NULL,
|
||||||
"acted_name" VARCHAR(36) NOT NULL,
|
"acted_name" VARCHAR(36) NOT NULL,
|
||||||
|
@ -43,7 +43,7 @@ CREATE TABLE `{prefix}actions` (
|
|||||||
`id` INTEGER PRIMARY KEY NOT NULL,
|
`id` INTEGER PRIMARY KEY NOT NULL,
|
||||||
`time` BIGINT NOT NULL,
|
`time` BIGINT NOT NULL,
|
||||||
`actor_uuid` VARCHAR(36) NOT NULL,
|
`actor_uuid` VARCHAR(36) NOT NULL,
|
||||||
`actor_name` VARCHAR(36) NOT NULL,
|
`actor_name` VARCHAR(100) NOT NULL,
|
||||||
`type` CHAR(1) NOT NULL,
|
`type` CHAR(1) NOT NULL,
|
||||||
`acted_uuid` VARCHAR(36) NOT NULL,
|
`acted_uuid` VARCHAR(36) NOT NULL,
|
||||||
`acted_name` VARCHAR(36) NOT NULL,
|
`acted_name` VARCHAR(36) NOT NULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user