repos / git-pr

a self-hosted git collaboration server
git clone https://github.com/picosh/git-pr.git

commit
40aba99
parent
fb66264
author
Eric Bower
date
2024-06-25 10:26:56 -0400 EDT
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"`