first commit
This commit is contained in:
24
example/db/usersession/user_sessions.go
Normal file
24
example/db/usersession/user_sessions.go
Normal file
@@ -0,0 +1,24 @@
|
||||
// Code generated by db-gen. DO NOT EDIT.
|
||||
|
||||
package usersession
|
||||
|
||||
import "code.patial.tech/go/pgm"
|
||||
|
||||
const (
|
||||
// ID field has db type "character varying NOT NULL"
|
||||
ID pgm.Field = "user_sessions.id"
|
||||
// CreatedAt field has db type "timestamp with time zone DEFAULT CURRENT_TIMESTAMP NOT NULL"
|
||||
CreatedAt pgm.Field = "user_sessions.created_at"
|
||||
// UpdatedAt field has db type "timestamp with time zone DEFAULT CURRENT_TIMESTAMP NOT NULL"
|
||||
UpdatedAt pgm.Field = "user_sessions.updated_at"
|
||||
// ExpiresAt field has db type "timestamp with time zone NOT NULL"
|
||||
ExpiresAt pgm.Field = "user_sessions.expires_at"
|
||||
// BranchID field has db type "bigint"
|
||||
BranchID pgm.Field = "user_sessions.branch_id"
|
||||
// UserID field has db type "bigint NOT NULL"
|
||||
UserID pgm.Field = "user_sessions.user_id"
|
||||
// RoleID field has db type "smallint"
|
||||
RoleID pgm.Field = "user_sessions.role_id"
|
||||
// LoginIp field has db type "character varying NOT NULL"
|
||||
LoginIp pgm.Field = "user_sessions.login_ip"
|
||||
)
|
Reference in New Issue
Block a user