Pezcurrel 3 months ago
parent
commit
b21db7c7fc
1 changed files with 7 additions and 4 deletions
  1. 7 4
      web/init/mastostart_solo_struttura.sql

+ 7 - 4
web/init/mastostart_solo_struttura.sql

@@ -350,8 +350,11 @@ DROP TABLE IF EXISTS `Peers`;
 CREATE TABLE `Peers` (
   `ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
   `Hostname` varchar(256) NOT NULL,
-  `FirstCheckTS` int(11) DEFAULT NULL,
-  `LastOkCheckTS` int(11) DEFAULT NULL,
+  `FirstCheckTS` int(11) unsigned DEFAULT NULL,
+  `LastOkCheckTS` int(11) unsigned DEFAULT NULL,
+  `ChecksAtLastOk` mediumint(8) unsigned DEFAULT NULL,
+  `LastCheckTS` int(10) unsigned DEFAULT NULL,
+  `ChecksAtLast` mediumint(8) unsigned DEFAULT NULL,
   PRIMARY KEY (`ID`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
 /*!40101 SET character_set_client = @saved_cs_client */;
@@ -366,7 +369,7 @@ DROP TABLE IF EXISTS `Platforms`;
 CREATE TABLE `Platforms` (
   `ID` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
   `Name` varchar(128) NOT NULL,
-  `Consider` tinyint(1) DEFAULT NULL,
+  `Consider` tinyint(1) unsigned DEFAULT NULL,
   `Comment` varchar(1024) DEFAULT NULL,
   PRIMARY KEY (`ID`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@@ -595,4 +598,4 @@ CREATE TABLE `ZStats` (
 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
 
--- Dump completed on 2023-12-31 20:33:04
+-- Dump completed on 2024-01-01 13:33:02