Revision 10453
Added by Aaron Marcuse-Kubitza almost 11 years ago
VegCore.my.sql | ||
---|---|---|
393 | 393 |
/*!40000 ALTER TABLE `party` ENABLE KEYS */; |
394 | 394 |
|
395 | 395 |
-- |
396 |
-- Table structure for table `party_list` |
|
397 |
-- |
|
398 |
|
|
399 |
/*!40101 SET @saved_cs_client = @@character_set_client */; |
|
400 |
/*!40101 SET character_set_client = utf8 */; |
|
401 |
CREATE TABLE `party_list` ( |
|
402 |
`id` varbinary(767) NOT NULL, |
|
403 |
`count` int(11) NOT NULL, |
|
404 |
PRIMARY KEY (`id`), |
|
405 |
CONSTRAINT `fk_collection_source100` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE |
|
406 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
407 |
/*!40101 SET character_set_client = @saved_cs_client */; |
|
408 |
|
|
409 |
-- |
|
410 |
-- Dumping data for table `party_list` |
|
411 |
-- |
|
412 |
|
|
413 |
/*!40000 ALTER TABLE `party_list` DISABLE KEYS */; |
|
414 |
/*!40000 ALTER TABLE `party_list` ENABLE KEYS */; |
|
415 |
|
|
416 |
-- |
|
417 |
-- Table structure for table `party_list_entry` |
|
418 |
-- |
|
419 |
|
|
420 |
/*!40101 SET @saved_cs_client = @@character_set_client */; |
|
421 |
/*!40101 SET character_set_client = utf8 */; |
|
422 |
CREATE TABLE `party_list_entry` ( |
|
423 |
`id` varbinary(767) NOT NULL, |
|
424 |
`entry` varbinary(767) NOT NULL, |
|
425 |
`sort_order` int(11) DEFAULT NULL, |
|
426 |
PRIMARY KEY (`id`,`entry`), |
|
427 |
KEY `fk_party_list_has_party_party1_idx` (`entry`), |
|
428 |
KEY `fk_party_list_has_party_party_list1_idx` (`id`), |
|
429 |
CONSTRAINT `fk_party_list_has_party_party_list1` FOREIGN KEY (`id`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
|
430 |
CONSTRAINT `fk_party_list_has_party_party1` FOREIGN KEY (`entry`) REFERENCES `party` (`id`) ON DELETE CASCADE ON UPDATE CASCADE |
|
431 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
432 |
/*!40101 SET character_set_client = @saved_cs_client */; |
|
433 |
|
|
434 |
-- |
|
435 |
-- Dumping data for table `party_list_entry` |
|
436 |
-- |
|
437 |
|
|
438 |
/*!40000 ALTER TABLE `party_list_entry` DISABLE KEYS */; |
|
439 |
/*!40000 ALTER TABLE `party_list_entry` ENABLE KEYS */; |
|
440 |
|
|
441 |
-- |
|
396 | 442 |
-- Table structure for table `place` |
397 | 443 |
-- |
398 | 444 |
|
Also available in: Unified diff
schemas/VegCore/VegCore.ERD.mwb: party: added party_list array table