y7tughtuy

This commit is contained in:
celestora 2022-10-08 23:25:09 +03:00
parent 2704ba0ec3
commit a950a2d706
2 changed files with 5 additions and 5 deletions

View file

@ -1,10 +1,10 @@
CREATE TABLE `links_banned` ( CREATE TABLE `links_banned` (
`id` bigint UNSIGNED NOT NULL, `id` bigint UNSIGNED NOT NULL,
`domain` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_nopad_ci NOT NULL, `domain` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL,
`regexp_rule` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_nopad_ci NOT NULL, `regexp_rule` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL,
`reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_nopad_ci, `reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci,
`initiator` bigint UNSIGNED NOT NULL `initiator` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_nopad_ci; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
ALTER TABLE `links_banned` ALTER TABLE `links_banned`
ADD PRIMARY KEY (`id`); ADD PRIMARY KEY (`id`);

View file

@ -2,7 +2,7 @@ CREATE TABLE `aliases` (
`id` bigint UNSIGNED NOT NULL, `id` bigint UNSIGNED NOT NULL,
`owner_id` bigint NOT NULL, `owner_id` bigint NOT NULL,
`shortcode` varchar(36) NOT NULL `shortcode` varchar(36) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_nopad_ci; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
ALTER TABLE `aliases` ALTER TABLE `aliases`
ADD PRIMARY KEY (`id`); ADD PRIMARY KEY (`id`);