adds history table
This commit is contained in:
@@ -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