From e7b67c492c8b654057a817c5159b1b3afd9f2439 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 23 Jul 2018 13:43:09 +0200 Subject: misc/database-layout.dump: deletion-list now arch dependent --- misc/database-layout.dump | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/database-layout.dump b/misc/database-layout.dump index d41e704..90255b4 100644 --- a/misc/database-layout.dump +++ b/misc/database-layout.dump @@ -620,7 +620,7 @@ repositories CREATE TABLE `repositories` ( `is_on_master_mirror` bit(1) NOT NULL, `architecture` smallint(6) NOT NULL, PRIMARY KEY (`id`), - UNIQUE KEY `name` (`name`), + UNIQUE KEY `name_arch` (`name`,`architecture`), KEY `stability` (`stability`), KEY `architecture` (`architecture`), CONSTRAINT `repositories_ibfk_1` FOREIGN KEY (`stability`) REFERENCES `repository_stabilities` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, @@ -763,7 +763,8 @@ INSERT INTO `repositories` VALUES (10,'deletion-list',6,'\0',1), (11,'to-be-decided',7,'\0',1), (12,'gnome-unstable',8,'1',2), - (13,'kde-unstable',8,'1',2); + (13,'kde-unstable',8,'1',2), + (14,'deletion-list',6,'\0',2); INSERT INTO `repository_moves` VALUES (1,6,3,3), (2,6,3,4), -- cgit v1.2.3-70-g09d2