mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Update DB dump
This commit is contained in:
parent
944d68494f
commit
19000c2f03
1 changed files with 6 additions and 2 deletions
|
@ -23,8 +23,8 @@ CREATE TABLE `albums` (
|
|||
|
||||
|
||||
CREATE TABLE `album_relations` (
|
||||
`album` bigint(20) UNSIGNED NOT NULL,
|
||||
`photo` bigint(20) UNSIGNED NOT NULL,
|
||||
`collection` bigint(20) UNSIGNED NOT NULL,
|
||||
`media` bigint(20) UNSIGNED NOT NULL,
|
||||
`index` bigint(20) UNSIGNED NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_nopad_ci;
|
||||
|
||||
|
@ -496,6 +496,10 @@ ALTER TABLE `videos`
|
|||
ALTER TABLE `albums`
|
||||
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||
|
||||
ALTER TABLE `album_relations`
|
||||
ADD PRIMARY KEY (`index`),
|
||||
ADD KEY `album` (`collection`);
|
||||
|
||||
ALTER TABLE `album_relations`
|
||||
MODIFY `index` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||
|
||||
|
|
Loading…
Reference in a new issue