mirror of
https://github.com/ellite/Wallos.git
synced 2026-05-19 14:27:18 -04:00
feat: make container shutdown instant & graceful (#916) feat: add pushplus notification service (#911) feat: option to delete ai recommendations fix: parsing ai recommendations from gemini (#909)
14 lines
495 B
PHP
14 lines
495 B
PHP
<?php
|
|
// This migration adds a pushplus_notifications table to store PushPlus notification settings.
|
|
|
|
$tableQuery = $db->query("SELECT name FROM sqlite_master WHERE type='table' AND name='pushplus_notifications'");
|
|
$tableExists = $tableQuery->fetchArray(SQLITE3_ASSOC);
|
|
if ($tableExists === false) {
|
|
$db->exec("
|
|
CREATE TABLE pushplus_notifications (
|
|
enabled INTEGER NOT NULL DEFAULT 0,
|
|
token TEXT,
|
|
user_id INTEGER
|
|
);
|
|
");
|
|
} |