schema update, no sender name required.
This commit is contained in:
@@ -126,7 +126,6 @@ const SchemaUsersNotifications = `
|
|||||||
CREATE TABLE IF NOT EXISTS users_notification (
|
CREATE TABLE IF NOT EXISTS users_notification (
|
||||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
user_id INTEGER NOT NULL REFERENCES users(id),
|
user_id INTEGER NOT NULL REFERENCES users(id),
|
||||||
sender_name VARCHAR(100),
|
|
||||||
subject TEXT,
|
subject TEXT,
|
||||||
body TEXT,
|
body TEXT,
|
||||||
is_read BOOLEAN DEFAULT FALSE,
|
is_read BOOLEAN DEFAULT FALSE,
|
||||||
|
|||||||
Reference in New Issue
Block a user