merge shop and looted tables
This commit is contained in:
@@ -5,8 +5,8 @@ CREATE TABLE items (
|
||||
base_price INTEGER NOT NULL
|
||||
);
|
||||
|
||||
-- The items that have been looted
|
||||
CREATE TABLE looted (
|
||||
-- The loot
|
||||
CREATE TABLE loot (
|
||||
id INTEGER PRIMARY KEY NOT NULL,
|
||||
name VARCHAR NOT NULL,
|
||||
base_price INTEGER NOT NULL,
|
||||
@@ -14,9 +14,3 @@ CREATE TABLE looted (
|
||||
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