Refactoring finalised ... I think.

This commit is contained in:
2025-04-23 11:30:03 +01:00
parent e938828a8c
commit f9853c921d
3 changed files with 13 additions and 1 deletions

View File

@@ -175,6 +175,16 @@ CREATE TABLE IF NOT EXISTS audit_log (
timestamp DATETIME DEFAULT CURRENT_TIMESTAMP
);`
const SchemaAuditLogin = `
CREATE TABLE IF NOT EXISTS audit_login (
id INTEGER PRIMARY KEY AUTOINCREMENT,
username TEXT,
success BOOLEAN,
ip TEXT,
user_agent TEXT,
timestamp DATETIME DEFAULT CURRENT_TIMESTAMP
);`
const SchemaSyndicates = `
CREATE TABLE IF NOT EXISTS syndicates (
id INTEGER PRIMARY KEY AUTOINCREMENT,