mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
13 lines
336 B
MySQL
13 lines
336 B
MySQL
|
CREATE TABLE `aliases` (
|
||
|
`id` bigint UNSIGNED NOT NULL,
|
||
|
`owner_id` bigint NOT NULL,
|
||
|
`shortcode` varchar(36) NOT NULL
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||
|
|
||
|
ALTER TABLE `aliases`
|
||
|
ADD PRIMARY KEY (`id`);
|
||
|
|
||
|
ALTER TABLE `aliases`
|
||
|
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;
|
||
|
COMMIT;
|