」 feat: added nginx exporter

This commit is contained in:
2025-07-22 16:38:11 +02:00
parent 1a1555f0c1
commit 4de9a323e4
8 changed files with 30 additions and 3 deletions

View File

@ -15,13 +15,13 @@ if (!env || env === 'development') {
function prepareDB() {
database.exec(`
CREATE TABLE userData (
CREATE TABLE IF NOT EXISTS userData (
username TEXT PRIMARY KEY,
displayName TEXT
) STRICT
`);
database.exec(`
CREATE TABLE friends (
CREATE TABLE IF NOT EXISTS friends (
username TEXT,
friendName TEXT,
UNIQUE(username, friendName),