mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-10-12 22:29:44 -04:00
add ammunition table and data
This commit is contained in:
1 parent
4c1d8e998c
commit
d710e27024
4 files changed
+29
-1
No files matched your search
@@ -0,0 +1,16 @@
|
||||
-- -*- mode:sql sql-product:sqlite -*-
|
||||
|
||||
PRAGMA foreign_keys = ON; -- database requires foreign key checking to be turned
|
||||
-- on PER CONNECTION
|
||||
|
||||
CREATE TABLE ammunition (
|
||||
ammunition_id INTEGER PRIMARY KEY,
|
||||
sources_id INTEGER,
|
||||
sources_pages TEXT,
|
||||
"name" TEXT NOT NULL UNIQUE,
|
||||
price_gp REAL,
|
||||
amount INTEGER,
|
||||
bulk REAL,
|
||||
descr TEXT,
|
||||
FOREIGN KEY (sources_id) REFERENCES sources(sources_id)
|
||||
)
|
||||
@@ -45,4 +45,3 @@ CREATE TABLE weapons_traits (
|
||||
FOREIGN KEY (weapons_id) REFERENCES weapons(weapons_id),
|
||||
FOREIGN KEY (trait_id) REFERENCes traits(trait_id)
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user