tijl.dev-core/modules/db/models.go
tijl c6dc9cd110
Some checks failed
build / build (push) Failing after 0s
updates
2024-08-21 01:08:47 +02:00

41 lines
678 B
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.27.0
package db
import (
"database/sql"
"time"
"github.com/sqlc-dev/pqtype"
)
type Session struct {
ID int32
UserID int32
Title sql.NullString
Token string
Password sql.NullString
LastActivity sql.NullTime
Expires sql.NullTime
CreatedAt time.Time
}
type SessionIp struct {
ID int32
SessionID int32
IpAddress pqtype.Inet
AccessTime sql.NullTime
}
type User struct {
ID int32
Uid string
Email sql.NullString
FullName sql.NullString
Displayname sql.NullString
CreatedAt time.Time
UpdatedAt sql.NullTime
}