adds new 'shop' table
This commit is contained in:
1 parent
cb8dfa9a2a
commit
d1a85ed1d0
8 files changed
+173
-54
No files matched your search
@@ -1,3 +1,3 @@
|
||||
DROP TABLE items;
|
||||
DROP TABLE looted;
|
||||
|
||||
DROP TABLE shop;
|
||||
@@ -13,3 +13,10 @@ CREATE TABLE looted (
|
||||
owner_id INTEGER NOT NULL,
|
||||
FOREIGN KEY (owner_id) REFERENCES players(id)
|
||||
);
|
||||
|
||||
-- The items that are available in shop
|
||||
CREATE TABLE shop (
|
||||
id INTEGER PRIMARY KEY NOT NULL,
|
||||
name VARCHAR NOT NULL,
|
||||
base_price INTEGER NOT NULL
|
||||
);
|
||||
Reference in new issue
Block a user