Add user detail API + modal. Closes #2002
This commit is contained in:
15
db/models.go
15
db/models.go
@@ -1,6 +1,6 @@
|
||||
// Code generated by sqlc. DO NOT EDIT.
|
||||
// versions:
|
||||
// sqlc v1.13.0
|
||||
// sqlc v1.14.0
|
||||
|
||||
package db
|
||||
|
||||
@@ -52,6 +52,19 @@ type IpBan struct {
|
||||
CreatedAt sql.NullTime
|
||||
}
|
||||
|
||||
type Message struct {
|
||||
ID string
|
||||
UserID sql.NullString
|
||||
Body sql.NullString
|
||||
EventType sql.NullString
|
||||
HiddenAt sql.NullTime
|
||||
Timestamp sql.NullTime
|
||||
Title sql.NullString
|
||||
Subtitle sql.NullString
|
||||
Image sql.NullString
|
||||
Link sql.NullString
|
||||
}
|
||||
|
||||
type Notification struct {
|
||||
ID int32
|
||||
Channel string
|
||||
|
||||
Reference in New Issue
Block a user