updates table schema
This commit is contained in:
8
lootalot_db/migrations/2019-06-21-113950_claims/up.sql
Normal file
8
lootalot_db/migrations/2019-06-21-113950_claims/up.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE claims (
|
||||
id INTEGER PRIMARY KEY NOT NULL,
|
||||
player_id INTEGER NOT NULL,
|
||||
loot_id INTEGER NOT NULL,
|
||||
resolve INTEGER NOT NULL DEFAULT 0,
|
||||
FOREIGN KEY (player_id) REFERENCES players(id),
|
||||
FOREIGN KEY (loot_id) REFERENCES looted(id)
|
||||
);
|
||||
Reference in New Issue
Block a user