feat: Logs zeigen jetzt auch Geraetetyp/Browser bei oeffentlichen Link-Besuchen
This commit is contained in:
@@ -673,5 +673,10 @@ db.exec(`
|
||||
created_at DATETIME
|
||||
)
|
||||
`);
|
||||
{
|
||||
const cols = db.pragma('table_info(public_access_log)').map(c => c.name);
|
||||
if (!cols.includes('device'))
|
||||
db.exec("ALTER TABLE public_access_log ADD COLUMN device TEXT NOT NULL DEFAULT ''");
|
||||
}
|
||||
|
||||
module.exports = db;
|
||||
|
||||
Reference in New Issue
Block a user