mirror of
https://github.com/ente-io/ente.git
synced 2025-05-27 21:20:04 +00:00
11 lines
265 B
SQL
11 lines
265 B
SQL
CREATE TABLE IF NOT EXISTS notification_history (
|
|
user_id INTEGER NOT NULL,
|
|
template_id TEXT NOT NULL,
|
|
sent_time BIGINT NOT NULL,
|
|
|
|
CONSTRAINT fk_notification_history_user_id
|
|
FOREIGN KEY(user_id)
|
|
REFERENCES users(user_id)
|
|
ON DELETE CASCADE
|
|
);
|