Added hashed tokens
This commit is contained in:
1 parent
51404f73e4
commit
0e7d235a6d
1 file changed
+1
@@ -22,6 +22,7 @@ CREATE TABLE device_tokens (
|
||||
last_seen_at TIMESTAMP NULL DEFAULT NULL,
|
||||
last_successful_delivery TIMESTAMP NULL DEFAULT NULL,
|
||||
last_failed_delivery TIMESTAMP NULL DEFAULT NULL,
|
||||
hashed_token VARCHAR(64) NOT NULL,
|
||||
|
||||
CONSTRAINT fk_user FOREIGN KEY (user_id) REFERENCES users(user_id)
|
||||
ON DELETE CASCADE
|
||||
|
||||
Reference in new issue
Block a user