Commit 40aba99

Eric Bower  ·  2024-06-25 10:26:56 -0400 EDT
parent fb66264
docs: copy
1 files changed,  +2, -0
M db.go
M db.go
+2, -0
 1@@ -10,6 +10,7 @@ import (
 2 	_ "modernc.org/sqlite"
 3 )
 4 
 5+// User is a db model for users
 6 type User struct {
 7 	ID        int64     `db:"id"`
 8 	Pubkey    string    `db:"pubkey"`
 9@@ -18,6 +19,7 @@ type User struct {
10 	UpdatedAt time.Time `db:"updated_at"`
11 }
12 
13+// Acl is a db model for access control
14 type Acl struct {
15 	ID         int64          `db:"id"`
16 	Pubkey     sql.NullString `db:"pubkey"`