From e3968a5ace0008bb955aaa3c546a363e0a89db32 Mon Sep 17 00:00:00 2001 From: pezcurrel Date: Sun, 25 Dec 2022 18:54:55 +0100 Subject: [PATCH] Updated to last changes --- web/init/mastostart_solo_struttura.sql | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/web/init/mastostart_solo_struttura.sql b/web/init/mastostart_solo_struttura.sql index 18926db..346f17f 100644 --- a/web/init/mastostart_solo_struttura.sql +++ b/web/init/mastostart_solo_struttura.sql @@ -312,26 +312,12 @@ DROP TABLE IF EXISTS `Peers`; CREATE TABLE `Peers` ( `ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `Hostname` varchar(256) NOT NULL, - `IsDead` tinyint(1) unsigned NOT NULL DEFAULT 0, + `FirstCheckTS` int(11) DEFAULT NULL, + `LastOkCheckTS` int(11) DEFAULT NULL, PRIMARY KEY (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; --- --- Table structure for table `PeersChecks` --- - -DROP TABLE IF EXISTS `PeersChecks`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `PeersChecks` ( - `InstID` bigint(20) unsigned NOT NULL, - `Time` int(10) unsigned NOT NULL, - `Status` tinyint(1) unsigned NOT NULL, - KEY `InstID` (`InstID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -/*!40101 SET character_set_client = @saved_cs_client */; - -- -- Table structure for table `Platforms` -- @@ -588,4 +574,4 @@ CREATE TABLE `test` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2022-12-22 11:36:25 +-- Dump completed on 2022-12-25 18:54:27