going full courtside
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE user_notification_configs
|
||||
DROP COLUMN IF EXISTS telegram_chat_id,
|
||||
DROP COLUMN IF EXISTS telegram_bot_token,
|
||||
ADD COLUMN IF NOT EXISTS slack_webhook_url TEXT;
|
||||
@@ -53,8 +53,7 @@ CREATE TABLE address_checkpoints (
|
||||
CREATE TABLE user_notification_configs (
|
||||
user_id VARCHAR(128) PRIMARY KEY,
|
||||
discord_webhook_url TEXT, -- Discord webhook URL (nullable)
|
||||
telegram_chat_id VARCHAR(128), -- Telegram chat ID (nullable)
|
||||
telegram_bot_token VARCHAR(255), -- Telegram bot token (nullable, future use)
|
||||
slack_webhook_url TEXT, -- Slack incoming webhook URL (nullable)
|
||||
email VARCHAR(255), -- Email for notifications (nullable)
|
||||
notification_enabled BOOLEAN DEFAULT TRUE, -- Master on/off switch
|
||||
created_at TIMESTAMP DEFAULT NOW(),
|
||||
|
||||
Reference in New Issue
Block a user