first commit
This commit is contained in:
18
example/db/employee/employees.go
Normal file
18
example/db/employee/employees.go
Normal file
@@ -0,0 +1,18 @@
|
||||
// Code generated by db-gen. DO NOT EDIT.
|
||||
|
||||
package employee
|
||||
|
||||
import "code.patial.tech/go/pgm"
|
||||
|
||||
const (
|
||||
// ID field has db type "integer NOT NULL"
|
||||
ID pgm.Field = "employees.id"
|
||||
// Name field has db type "var NOT NULL"
|
||||
Name pgm.Field = "employees.name"
|
||||
// Department field has db type "var NOT NULL"
|
||||
Department pgm.Field = "employees.department"
|
||||
// Salary field has db type "decimal(10,2)"
|
||||
Salary pgm.Field = "employees.salary"
|
||||
// CreatedAt field has db type "timestamp without time zone NOT NULL DEFAULT CURRENT_TIMESTAMP updated_at timestamp without time zone NOT NULL DEFAULT CURRENT_TIMESTAMP"
|
||||
CreatedAt pgm.Field = "employees.created_at"
|
||||
)
|
Reference in New Issue
Block a user