renamed exaples to playground, edited README
This commit is contained in:
18
playground/db/branchuser/branch_users.go
Normal file
18
playground/db/branchuser/branch_users.go
Normal file
@@ -0,0 +1,18 @@
|
||||
// Code generated by db-gen. DO NOT EDIT.
|
||||
|
||||
package branchuser
|
||||
|
||||
import "code.patial.tech/go/pgm"
|
||||
|
||||
const (
|
||||
// BranchID field has db type "bigint NOT NULL"
|
||||
BranchID pgm.Field = "branch_users.branch_id"
|
||||
// UserID field has db type "bigint NOT NULL"
|
||||
UserID pgm.Field = "branch_users.user_id"
|
||||
// RoleID field has db type "smallint NOT NULL"
|
||||
RoleID pgm.Field = "branch_users.role_id"
|
||||
// CreatedAt field has db type "timestamp with time zone DEFAULT CURRENT_TIMESTAMP NOT NULL"
|
||||
CreatedAt pgm.Field = "branch_users.created_at"
|
||||
// UpdatedAt field has db type "timestamp with time zone DEFAULT CURRENT_TIMESTAMP NOT NULL"
|
||||
UpdatedAt pgm.Field = "branch_users.updated_at"
|
||||
)
|
Reference in New Issue
Block a user