2022-09-05 18:57:41 +03:00
|
|
|
CREATE TABLE `links_banned` (
|
|
|
|
`id` bigint UNSIGNED NOT NULL,
|
2022-09-17 00:25:44 +03:00
|
|
|
`domain` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_nopad_ci NOT NULL,
|
|
|
|
`regexp_rule` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_nopad_ci NOT NULL,
|
|
|
|
`reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_nopad_ci,
|
2022-09-05 18:57:41 +03:00
|
|
|
`initiator` bigint UNSIGNED NOT NULL
|
2022-09-17 00:25:44 +03:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_nopad_ci;
|
2022-09-05 18:57:41 +03:00
|
|
|
|
|
|
|
ALTER TABLE `links_banned`
|
|
|
|
ADD PRIMARY KEY (`id`);
|
|
|
|
|
|
|
|
ALTER TABLE `links_banned`
|
|
|
|
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;
|