adds notifications table and models
This commit is contained in:
1 parent
2248e25aec
commit
ed3ac2abcb
5 files changed
+59
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
DROP TABLE notifications;
|
||||
@@ -0,0 +1,6 @@
|
||||
CREATE TABLE notifications (
|
||||
id INTEGER PRIMARY KEY NOT NULL,
|
||||
player_id INTEGER NOT NULL,
|
||||
text VARCHAR NOT NULL,
|
||||
FOREIGN KEY (player_id) REFERENCES players(id)
|
||||
);
|
||||
Reference in new issue
Block a user