mirror of
https://github.com/ellite/Wallos.git
synced 2025-12-23 23:18:07 -05:00
14 lines
355 B
PHP
14 lines
355 B
PHP
<?php
|
|
|
|
/*
|
|
* This migration adds tables to store the data about a new notification method Ntfy
|
|
*/
|
|
|
|
$db->exec('CREATE TABLE IF NOT EXISTS ntfy_notifications (
|
|
enabled BOOLEAN DEFAULT 0,
|
|
host TEXT DEFAULT "",
|
|
topic TEXT DEFAULT "",
|
|
headers TEXT DEFAULT "",
|
|
user_id INTEGER,
|
|
FOREIGN KEY (user_id) REFERENCES user(id)
|
|
)'); |