Adding missing migration index key

This commit is contained in:
softsimon committed 2022-07-08 18:55:25 +02:00
1 parent f2e42b17a7
commit a8fd04e2f0
1 file changed
+2 -1
+2 -1
View File
@@ -199,7 +199,8 @@ class DatabaseMigration {
alias varchar(200) CHARACTER SET utf8mb4 NOT NULL,
color varchar(200) NOT NULL,
sockets text DEFAULT NULL,
PRIMARY KEY (public_key)
PRIMARY KEY (public_key),
KEY alias (alias(10))
) ENGINE=InnoDB DEFAULT CHARSET=utf8;`;
}