mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Fix SQL dump from the commit before last
I do not know why it happened, sorry
This commit is contained in:
parent
e3a4c34574
commit
6d14f03573
1 changed files with 3 additions and 3 deletions
|
@ -11,12 +11,12 @@ CREATE TABLE IF NOT EXISTS `topics` (
|
||||||
`closed` boolean NOT NULL DEFAULT FALSE,
|
`closed` boolean NOT NULL DEFAULT FALSE,
|
||||||
`pinned` boolean NOT NULL DEFAULT FALSE,
|
`pinned` boolean NOT NULL DEFAULT FALSE,
|
||||||
`flags` tinyint(3) unsigned DEFAULT NULL,
|
`flags` tinyint(3) unsigned DEFAULT NULL,
|
||||||
`deleted` tinyint(1) DEFAULT 0,
|
`deleted` tinyint(1) DEFAULT 0
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
|
||||||
|
|
||||||
ALTER TABLE `topics`
|
ALTER TABLE `topics`
|
||||||
PRIMARY KEY (`id`),
|
ADD PRIMARY KEY (`id`),
|
||||||
KEY `group` (`group`);
|
ADD KEY `group` (`group`);
|
||||||
|
|
||||||
ALTER TABLE `topics`
|
ALTER TABLE `topics`
|
||||||
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
|
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||||
|
|
Loading…
Reference in a new issue