Updated after adding Peers and PeersCheck tables

This commit is contained in:
pezcurrel 2022-12-22 11:37:00 +01:00
parent 520a413678
commit 562639fb5c

View file

@ -302,6 +302,36 @@ CREATE TABLE `Notifications` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */; /*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `Peers`
--
DROP TABLE IF EXISTS `Peers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Peers` (
`ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`Hostname` varchar(256) NOT NULL,
`IsDead` tinyint(1) unsigned NOT NULL DEFAULT 0,
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` -- Table structure for table `Platforms`
-- --
@ -558,4 +588,4 @@ CREATE TABLE `test` (
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2022-12-20 23:03:19 -- Dump completed on 2022-12-22 11:36:25