Adds the library_report table (#7341)

Co-authored-by: Nick <nick@nfreader.net>
This commit is contained in:
SkyratBot
2021-08-03 20:05:19 +01:00
committed by GitHub
co-authored by Nick
parent 7ad9001672
commit 85a7f1c86f
3 changed files with 61 additions and 0 deletions
+19
View File
@@ -264,6 +264,25 @@ CREATE TABLE `SS13_library` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `SS13_library_action`
--
DROP TABLE IF EXISTS `SS13_library_action`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `SS13_library_action` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`book` int(10) unsigned NOT NULL,
`reason` longtext DEFAULT NULL,
`ckey` varchar(11) NOT NULL DEFAULT '',
`datetime` datetime NOT NULL DEFAULT current_timestamp(),
`action` varchar(11) NOT NULL DEFAULT '',
`ip_addr` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `SS13_messages`
--