adds history table
This commit is contained in:
1 parent
559ce804a7
commit
40e39d5a65
3 files changed
+51
No files matched your search
@@ -0,0 +1 @@
|
||||
DROP TABLE history;
|
||||
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE history (
|
||||
id INTEGER PRIMARY KEY NOT NULL,
|
||||
player_id INTEGER NOT NULL,
|
||||
event_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
||||
text VARCHAR NOT NULL,
|
||||
updates VARCHAR,
|
||||
FOREIGN KEY (player_id) REFERENCES players(id)
|
||||
);
|
||||
Reference in new issue
Block a user