add isbns and paizo codes to sources, fix bug on AoAPG

merge-requests/35/merge
James R Miller 2019-08-18 14:00:21 -05:00
parent b0c770f43d
commit a872a9edb6
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,8 @@ PRAGMA foreign_keys = ON; -- database requires foreign key checking to be turned
INSERT INTO sources (sources_id, INSERT INTO sources (sources_id,
isbn,
pzocode,
sources_full_name, sources_full_name,
sources_short_name, sources_short_name,
sources_abbrev, sources_abbrev,
@ -17,6 +19,8 @@ INSERT INTO sources (sources_id,
VALUES VALUES
-- Core Rulebook -- Core Rulebook
(1, (1,
'978-1-64078-168-9',
'PZO2101',
'Pathfinder Core Rulebook (Second Edition)', 'Pathfinder Core Rulebook (Second Edition)',
'Core Rulebook', 'Core Rulebook',
'CRB', 'CRB',
@ -26,6 +30,8 @@ VALUES
'Open Game License v.1.0a (c) 2000, Wizards of the Coast, Inc.; System Reference Document (c) 2000, Wizards of the Coast, Inc.; Authors: Jonathan Tweet, Monte Cook, and Skip Williams, based on material by E. Gary Gygax and Dave Arneson. Pathfinder Core Rulebook (Second Edition) (c) 2019, Paizo, Inc.; Designers: Logan Bonner, Jason Bulmahn, Stephen Radney-MacFarland, and Mark Seifter.'), 'Open Game License v.1.0a (c) 2000, Wizards of the Coast, Inc.; System Reference Document (c) 2000, Wizards of the Coast, Inc.; Authors: Jonathan Tweet, Monte Cook, and Skip Williams, based on material by E. Gary Gygax and Dave Arneson. Pathfinder Core Rulebook (Second Edition) (c) 2019, Paizo, Inc.; Designers: Logan Bonner, Jason Bulmahn, Stephen Radney-MacFarland, and Mark Seifter.'),
-- Bestiary 1 -- Bestiary 1
(2, (2,
'978-1-64078-170-2',
'PZO2102',
'Pathfinder Bestiary (Second Edition)', 'Pathfinder Bestiary (Second Edition)',
'Bestiary', 'Bestiary',
'BST1', 'BST1',
@ -35,6 +41,8 @@ VALUES
'Daemon, Guardian from the Tome of Horrors Complete © 2011, Necromancer Games, Inc., published and distributed by Frog God Games; Author: Scott Greene, based on original material by Ian McDowall. Dark Creeper from the Tome of Horrors Complete © 2011, Necromancer Games, Inc., published and distributed by Frog God Games; Author: Scott Greene, based on original material by Rik Shepard. Dark Stalker from the Tome of Horrors Complete © 2011, Necromancer Games, Inc., published and distributed by Frog God Games; Author: Scott Greene, based on original material by Simon Muth. Dragon, Faerie from the Tome of Horrors Complete © 2011, Necromancer Games, Inc., published and distributed by Frog God Games; Author: Scott Greene, based on original material by Brian Jaeger and Gary Gygax. Genie, Marid from the Tome of Horrors Complete © 2011, Necromancer Games, Inc., published and distributed by Frog God Games; Author: Scott Greene, based on original material by Gary Gygax. Mite from the Tome of Horrors Complete © 2011, Necromancer Games, Inc., published and distributed by Frog God Games; Author: Scott Greene, based on original material by Ian Livingstone and Mark Barnes. Pathfinder Bestiary (Second Edition) © 2019, Paizo Inc.; Authors: Alexander Augunas, Logan Bonner, Jason Bulmahn, John Compton, Paris Crenshaw, Adam Daigle, Eleanor Ferron, Leo Glass, Thurston Hillman, James Jacobs, Jason Keeley, Lyz Liddell, Ron Lundeen, Robert G. McCreary, Tim Nightengale, Stephen Radney-MacFarland, Alex Riggs, David N. Ross, Michael Sayre, Mark Seifter, Chris S. Sims, Jeffrey Swank, Jason Tondro, Tonya Woldridge, and Linda Zayas-Palmer.'), 'Daemon, Guardian from the Tome of Horrors Complete © 2011, Necromancer Games, Inc., published and distributed by Frog God Games; Author: Scott Greene, based on original material by Ian McDowall. Dark Creeper from the Tome of Horrors Complete © 2011, Necromancer Games, Inc., published and distributed by Frog God Games; Author: Scott Greene, based on original material by Rik Shepard. Dark Stalker from the Tome of Horrors Complete © 2011, Necromancer Games, Inc., published and distributed by Frog God Games; Author: Scott Greene, based on original material by Simon Muth. Dragon, Faerie from the Tome of Horrors Complete © 2011, Necromancer Games, Inc., published and distributed by Frog God Games; Author: Scott Greene, based on original material by Brian Jaeger and Gary Gygax. Genie, Marid from the Tome of Horrors Complete © 2011, Necromancer Games, Inc., published and distributed by Frog God Games; Author: Scott Greene, based on original material by Gary Gygax. Mite from the Tome of Horrors Complete © 2011, Necromancer Games, Inc., published and distributed by Frog God Games; Author: Scott Greene, based on original material by Ian Livingstone and Mark Barnes. Pathfinder Bestiary (Second Edition) © 2019, Paizo Inc.; Authors: Alexander Augunas, Logan Bonner, Jason Bulmahn, John Compton, Paris Crenshaw, Adam Daigle, Eleanor Ferron, Leo Glass, Thurston Hillman, James Jacobs, Jason Keeley, Lyz Liddell, Ron Lundeen, Robert G. McCreary, Tim Nightengale, Stephen Radney-MacFarland, Alex Riggs, David N. Ross, Michael Sayre, Mark Seifter, Chris S. Sims, Jeffrey Swank, Jason Tondro, Tonya Woldridge, and Linda Zayas-Palmer.'),
-- The Fall of Plaguestone -- The Fall of Plaguestone
(3, (3,
'978-1-64078-174-0',
'PZO9555',
'Pathfinder Adventure: The Fall of Plaguestone', 'Pathfinder Adventure: The Fall of Plaguestone',
'The Fall of Plaguestone', 'The Fall of Plaguestone',
'TFoP', 'TFoP',
@ -44,6 +52,8 @@ VALUES
'Pathfinder Adventure: The Fall of Plaguestone © 2019, Paizo Inc.; Author: Jason Bulmahn.'), 'Pathfinder Adventure: The Fall of Plaguestone © 2019, Paizo Inc.; Author: Jason Bulmahn.'),
-- Core Rulebook -- Core Rulebook
(4, (4,
NULL,
'PZO9000-25E',
'Age of Ashes Player''s Guide', 'Age of Ashes Player''s Guide',
'Age of Ashes Player''s Guide', 'Age of Ashes Player''s Guide',
'AoAPG', 'AoAPG',

View File

@ -4,6 +4,8 @@
CREATE TABLE sources ( CREATE TABLE sources (
sources_id INTEGER PRIMARY KEY, sources_id INTEGER PRIMARY KEY,
isbn TEXT,
pzocode TEXT,
sources_full_name TEXT NOT NULL UNIQUE, sources_full_name TEXT NOT NULL UNIQUE,
sources_short_name TEXT NOT NULL UNIQUE, sources_short_name TEXT NOT NULL UNIQUE,
sources_abbrev TEXT NOT NULL UNIQUE, sources_abbrev TEXT NOT NULL UNIQUE,