Skip to content

Commit

Permalink
Fixed an explicit SQL error that caused the UNIQUE INDEX to be too lo…
Browse files Browse the repository at this point in the history
…ng when creating a darkchat related table. (#1142)
  • Loading branch information
Ericple committed Mar 20, 2024
1 parent c59a881 commit 8837c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import.sql
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ CREATE TABLE IF NOT EXISTS `npwd_phone_gallery`

CREATE TABLE `npwd_darkchat_channels` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`channel_identifier` VARCHAR(255) NOT NULL COLLATE 'utf8mb4_general_ci',
`channel_identifier` VARCHAR(191) NOT NULL COLLATE 'utf8mb4_general_ci',
`label` VARCHAR(255) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `darkchat_channels_channel_identifier_uindex` (`channel_identifier`) USING BTREE
Expand Down

0 comments on commit 8837c4c

Please sign in to comment.