From 507bbfaba5227e109488c0667f74a6ebde176259 Mon Sep 17 00:00:00 2001 From: Alexander Minkin Date: Sun, 3 Nov 2024 17:52:09 +0300 Subject: [PATCH] fix(sqls): add NOT NULL to id in 00049-ignored-sources.sql --- install/sqls/00049-ignored-sources.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/sqls/00049-ignored-sources.sql b/install/sqls/00049-ignored-sources.sql index 70dab75e..f010b8bd 100644 --- a/install/sqls/00049-ignored-sources.sql +++ b/install/sqls/00049-ignored-sources.sql @@ -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`);