mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
fixed pg types
This commit is contained in:
@@ -4,7 +4,7 @@ type TransactionType struct {
|
||||
tableName struct{} `pg:"transactionTypes,alias:transactionTypes"`
|
||||
BaseModel
|
||||
Name string `json:"name" pg:"name"`
|
||||
Type string `json:"type" pg:"type"`
|
||||
Type string `json:"type" pg:"type,notnull"`
|
||||
}
|
||||
|
||||
type NewTransactionTypeBody struct {
|
||||
|
||||
Reference in New Issue
Block a user