mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
y7tughtuy
This commit is contained in:
parent
2704ba0ec3
commit
a950a2d706
2 changed files with 5 additions and 5 deletions
|
@ -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`);
|
||||||
|
|
|
@ -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`);
|
||||||
|
|
Loading…
Reference in a new issue