add CharactergroupsqueststationsAgent
This commit is contained in:
parent
f31032cbb2
commit
f779b22574
7 changed files with 1019 additions and 0 deletions
|
|
@ -568,6 +568,60 @@ CREATE TABLE `charactergroupsquests_seminaryuploads` (
|
|||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `charactergroupsqueststations`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `charactergroupsqueststations`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `charactergroupsqueststations` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`charactergroupsquest_id` int(11) NOT NULL,
|
||||
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`stationtype_id` int(11) NOT NULL,
|
||||
`title` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`url` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`pos` int(10) unsigned NOT NULL,
|
||||
`stationpicture_id` int(11) DEFAULT NULL,
|
||||
`task` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`latitude` decimal(10,6) DEFAULT NULL,
|
||||
`longitude` decimal(10,6) DEFAULT NULL,
|
||||
`righttext` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`wrongtext` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `charactergroupsquest_id_2` (`charactergroupsquest_id`,`url`),
|
||||
UNIQUE KEY `charactergroupsquest_id_3` (`charactergroupsquest_id`,`pos`),
|
||||
KEY `charactergroupsquest_id` (`charactergroupsquest_id`),
|
||||
KEY `charactergroupsqueststationtype_id` (`stationtype_id`),
|
||||
KEY `stationpicture_id` (`stationpicture_id`) USING BTREE,
|
||||
CONSTRAINT `charactergroupsqueststations_ibfk_1` FOREIGN KEY (`charactergroupsquest_id`) REFERENCES `charactergroupsquests` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
CONSTRAINT `charactergroupsqueststations_ibfk_2` FOREIGN KEY (`stationpicture_id`) REFERENCES `seminarymedia` (`id`) ON DELETE SET NULL ON UPDATE SET NULL,
|
||||
CONSTRAINT `charactergroupsqueststations_ibfk_3` FOREIGN KEY (`stationtype_id`) REFERENCES `stationtypes` (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `charactergroupsqueststations_charactergroups`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `charactergroupsqueststations_charactergroups`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `charactergroupsqueststations_charactergroups` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`charactergroupsqueststation_id` int(11) NOT NULL,
|
||||
`charactergroup_id` int(11) NOT NULL,
|
||||
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`status` tinyint(3) unsigned NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `charactergroupsqueststation_id` (`charactergroupsqueststation_id`),
|
||||
KEY `charactergroup_id` (`charactergroup_id`),
|
||||
CONSTRAINT `charactergroupsqueststations_charactergroups_ibfk_1` FOREIGN KEY (`charactergroupsqueststation_id`) REFERENCES `charactergroupsqueststations` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
CONSTRAINT `charactergroupsqueststations_charactergroups_ibfk_2` FOREIGN KEY (`charactergroup_id`) REFERENCES `charactergroups` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `characterroles`
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue