init rust db backend
This commit is contained in:
1 parent
ba1792ef55
commit
4454bd245c
16 files changed
+204
-2
No files matched your search
@@ -0,0 +1 @@
|
||||
DROP TABLE looted;
|
||||
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE looted (
|
||||
id INTEGER PRIMARY KEY,
|
||||
player_id INTEGER NOT NULL,
|
||||
item_id INTEGER NOT NULL,
|
||||
acquired_date DATE DEFAULT NOW,
|
||||
FOREIGN KEY (player_id) REFERENCES players(id),
|
||||
FOREIGN KEY (item_id) REFERENCES items(id)
|
||||
);
|
||||
Reference in new issue
Block a user