19 lines
580 B
Go
19 lines
580 B
Go
// Code generated by db-gen. DO NOT EDIT.
|
|
|
|
package comment
|
|
|
|
import "code.patial.tech/go/pgm"
|
|
|
|
const (
|
|
// ID field has db type "integer NOT NULL"
|
|
ID pgm.Field = "comments.id"
|
|
// PostID field has db type "integer NOT NULL"
|
|
PostID pgm.Field = "comments.post_id"
|
|
// UserID field has db type "integer NOT NULL"
|
|
UserID pgm.Field = "comments.user_id"
|
|
// Content field has db type "text NOT NULL"
|
|
Content pgm.Field = "comments.content"
|
|
// CreatedAt field has db type "timestamp without time zone NOT NULL DEFAULT CURRENT_TIMESTAMP"
|
|
CreatedAt pgm.Field = "comments.created_at"
|
|
)
|