tijl.dev-core/modules/database/models.go
tijl a04246cddc
Some checks failed
build / build (push) Failing after 0s
updates
2024-08-21 15:43:24 +02:00

41 lines
684 B
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.27.0
package database
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
}