diff --git a/web/init/mastostart_solo_struttura.sql b/web/init/mastostart_solo_struttura.sql index 539cab2..8b063f2 100644 --- a/web/init/mastostart_solo_struttura.sql +++ b/web/init/mastostart_solo_struttura.sql @@ -36,7 +36,7 @@ CREATE TABLE `Admins` ( `MaxTags` tinyint(3) unsigned DEFAULT NULL, `Enabled` tinyint(1) unsigned NOT NULL DEFAULT 1, PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -51,7 +51,7 @@ CREATE TABLE `Financing` ( `Type` varchar(256) NOT NULL, `AddedBy` int(10) unsigned NOT NULL DEFAULT 1, PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -196,7 +196,9 @@ CREATE TABLE `Instances` ( `Chosen` tinyint(1) unsigned NOT NULL, `Priority` tinyint(3) unsigned DEFAULT NULL, `Visible` tinyint(1) unsigned NOT NULL, - `Noxious` tinyint(1) unsigned NOT NULL, + `Noxious` tinyint(1) unsigned NOT NULL DEFAULT 0, + `NoxReason` varchar(2048) DEFAULT NULL, + `NoxLastModTS` int(10) unsigned DEFAULT NULL, `URI` varchar(256) NOT NULL, `Title` varchar(256) DEFAULT NULL, `ShortDesc` text DEFAULT NULL, @@ -229,7 +231,7 @@ CREATE TABLE `Instances` ( `LastGuestEdit` int(10) unsigned DEFAULT NULL, `RPos` int(20) unsigned DEFAULT NULL, PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=3752 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -252,7 +254,7 @@ CREATE TABLE `Languages` ( `NameIT` varchar(64) DEFAULT NULL, `AddedBy` int(10) unsigned NOT NULL DEFAULT 1, PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=62 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -292,28 +294,7 @@ CREATE TABLE `Notifications` ( `Seen` tinyint(1) unsigned NOT NULL DEFAULT 0, `Deleted` tinyint(1) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=659 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Table structure for table `Noxious` --- - -DROP TABLE IF EXISTS `Noxious`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `Noxious` ( - `ID` int(10) unsigned NOT NULL AUTO_INCREMENT, - `Domain` varchar(256) NOT NULL, - `CreatedAt` decimal(14,4) unsigned NOT NULL, - `ModifiedAt` decimal(14,4) unsigned NOT NULL, - `Severity` tinyint(3) unsigned NOT NULL, - `RejectMedia` tinyint(1) unsigned NOT NULL, - `RejectReports` tinyint(1) unsigned NOT NULL, - `PrivateComment` varchar(4096) DEFAULT NULL, - `PublicComment` varchar(4096) DEFAULT NULL, - PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=166 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -327,7 +308,7 @@ CREATE TABLE `Platforms` ( `ID` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `Name` varchar(128) NOT NULL, PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -342,7 +323,7 @@ CREATE TABLE `Policies` ( `Name` varchar(64) NOT NULL, `AddedBy` int(10) unsigned NOT NULL DEFAULT 1, PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -426,21 +407,7 @@ CREATE TABLE `Presets` ( `ID` int(10) unsigned NOT NULL AUTO_INCREMENT, `Name` varchar(256) NOT NULL, PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Table structure for table `StartNodes` --- - -DROP TABLE IF EXISTS `StartNodes`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `StartNodes` ( - `ID` smallint(5) unsigned NOT NULL AUTO_INCREMENT, - `Domain` varchar(128) NOT NULL, - PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -473,7 +440,7 @@ CREATE TABLE `Tags` ( `Name` varchar(64) NOT NULL, `AddedBy` int(10) unsigned NOT NULL DEFAULT 1, PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -516,4 +483,4 @@ CREATE TABLE `ZStats` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2022-11-29 19:30:57 +-- Dump completed on 2022-12-01 17:43:07