mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
fix(sqls): add NOT NULL to id in 00049-ignored-sources.sql
This commit is contained in:
parent
f4c0805a6a
commit
507bbfaba5
1 changed files with 1 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
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;
|
||||
CREATE TABLE `ignored_sources` (`id` BIGINT(20) UNSIGNED NOT 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