π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Add log model
Smaug6739af41d9a3d4cc
diff --git a/backend/models/log.model.go b/backend/models/log.model.gonew file mode 100644index 00000000..8be91f7d--- /dev/null+++ b/backend/models/log.model.go@@ -0,0 +1,11 @@+package models++type Log struct {+ Id int64 `json:"id"`+ UserId int64 `json:"user_id"`+ IpAddr *string `json:"ip_address"`+ UserAgent *string `json:"user_agent"`+ Location string `json:"location"`+ Type string `json:"type"`+ Timestamp int64 `json:"timestamp"`+}