From 8a253e4c6d7ce231c6d600669e3b2ff8d94dfadd Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 15 Jun 2018 11:30:00 +0200 Subject: new table `mirror_statuses` --- misc/database-layout.dmf | 172 ++++++++++++++++++++++++++++++++++------------ misc/database-layout.dump | 15 ++++ 2 files changed, 143 insertions(+), 44 deletions(-) diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf index e9fdc88..14c5710 100644 --- a/misc/database-layout.dmf +++ b/misc/database-layout.dmf @@ -142,8 +142,8 @@ - 585 - 455 + 492 + 459 repository_moves @@ -178,8 +178,8 @@ - 856 - 280 + 770 + 345
repository_stabilities @@ -448,8 +448,8 @@ - 906 - 532 + 803 + 533
git_repositories @@ -490,8 +490,8 @@ - 625 - 307 + 566 + 299
repositories @@ -856,8 +856,8 @@ - 844 - 427 + 756 + 452
repository_stability_relations @@ -1174,8 +1174,8 @@ - 360 - 400 + 375 + 369
architecture_compatibilities @@ -1208,6 +1208,90 @@
+ + + 952 + 253 + + + mirror_statuses + #ffffff + + + id + BIGINT + True + True + + + protocol + VARCHAR(8) + True + False + + + url + VARCHAR(128) + True + False + + + country + VARCHAR(64) + True + False + + + country_code + VARCHAR(4) + True + False + + + last_sync + BIGINT + True + False + + + start + FLOAT + True + False + + + stop + FLOAT + True + False + + + isos + BIT + True + False + + + ipv4 + BIT + True + False + + + ipv6 + BIT + True + False + + + active + BIT + True + False + + +
+
@@ -1221,8 +1305,8 @@ - 709.703 - 307 + 650.703 + 299 90 @@ -1312,8 +1396,8 @@ - 703.133 - 532.812 + 610.133 + 536.812 270 @@ -1345,16 +1429,16 @@ - 663.755 - 455 + 649.51 + 459 90 - 681.469 - 398.812 + 678.938 + 390.812 270 @@ -1378,16 +1462,16 @@ - 742.51 - 455 + 570.755 + 459 90 - 737.938 - 398.812 + 622.469 + 390.812 270 @@ -1477,16 +1561,16 @@ - 794.406 - 352.906 + 735.406 + 344.906 0 - 856 - 311.906 + 770 + 376.906 180 @@ -1683,8 +1767,8 @@ - 906 - 577.906 + 803 + 578.906 180 @@ -1972,16 +2056,16 @@ - 906.656 - 427 + 818.656 + 452 90 - 908.635 - 343.812 + 822.635 + 408.812 270 @@ -2005,16 +2089,16 @@ - 969.312 - 427 + 881.312 + 452 90 - 961.271 - 343.812 + 875.271 + 408.812 270 @@ -2335,8 +2419,8 @@ - 625 - 352.906 + 566 + 344.906 180 @@ -2368,8 +2452,8 @@ - 481.427 - 400 + 496.427 + 369 90 @@ -2401,8 +2485,8 @@ - 420.714 - 400 + 435.714 + 369 90 diff --git a/misc/database-layout.dump b/misc/database-layout.dump index d84af0d..6aa09cb 100644 --- a/misc/database-layout.dump +++ b/misc/database-layout.dump @@ -575,6 +575,21 @@ install_targets CREATE TABLE `install_targets` ( PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci +mirror_statuses CREATE TABLE `mirror_statuses` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `protocol` varchar(8) COLLATE utf8mb4_unicode_ci NOT NULL, + `url` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL, + `country` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `country_code` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, + `last_sync` bigint(20) NOT NULL, + `start` float NOT NULL, + `stop` float NOT NULL, + `isos` bit(1) NOT NULL, + `ipv4` bit(1) NOT NULL, + `ipv6` bit(1) NOT NULL, + `active` bit(1) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci package_sources CREATE TABLE `package_sources` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `pkgbase` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, -- cgit v1.2.3-70-g09d2