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