mirror of
https://github.com/openvk/openvk
synced 2024-11-15 03:31:18 +03:00
Update install/sqls/00049-ignored-sources.sql
Co-authored-by: Alexander Minkin <weryskok@gmail.com>
This commit is contained in:
parent
c332510b24
commit
783d9c749a
1 changed files with 2 additions and 2 deletions
|
@ -1,2 +1,2 @@
|
|||
CREATE TABLE `openvk`.`ignored_sources` (`id` BIGINT(20) UNSIGNED NULL AUTO_INCREMENT , `owner` BIGINT(20) UNSIGNED NOT NULL , `source` BIGINT(20) NOT NULL , PRIMARY KEY (`id`), INDEX (`owner`)) ENGINE = InnoDB;
|
||||
ALTER TABLE `openvk`.`ignored_sources` ADD INDEX `owner_source` (`owner`, `source`);
|
||||
CREATE TABLE `ignored_sources` (`id` BIGINT(20) UNSIGNED NULL AUTO_INCREMENT , `owner` BIGINT(20) UNSIGNED NOT NULL , `source` BIGINT(20) NOT NULL , PRIMARY KEY (`id`), INDEX (`owner`)) ENGINE = InnoDB;
|
||||
ALTER TABLE `ignored_sources` ADD INDEX `owner_source` (`owner`, `source`);
|
||||
|
|
Loading…
Reference in a new issue