19 lines
564 B
Go
19 lines
564 B
Go
// Code generated by db-gen. DO NOT EDIT.
|
|
|
|
package post
|
|
|
|
import "code.patial.tech/go/pgm"
|
|
|
|
const (
|
|
// ID field has db type "integer NOT NULL"
|
|
ID pgm.Field = "posts.id"
|
|
// UserID field has db type "integer NOT NULL"
|
|
UserID pgm.Field = "posts.user_id"
|
|
// Title field has db type "character varying(255) NOT NULL"
|
|
Title pgm.Field = "posts.title"
|
|
// Content field has db type "text"
|
|
Content pgm.Field = "posts.content"
|
|
// CreatedAt field has db type "timestamp without time zone NOT NULL DEFAULT CURRENT_TIMESTAMP"
|
|
CreatedAt pgm.Field = "posts.created_at"
|
|
)
|