mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 14:18:12 +00:00
fixed pg types
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
)
|
||||
|
||||
type BaseModel struct {
|
||||
Id string `json:"id" pg:"id,pk"`
|
||||
Id string `json:"id" pg:"id,pk,notnull"`
|
||||
DateCreated time.Time `json:"dateCreated" pg:"date_created"`
|
||||
DateUpdated time.Time `json:"dateUpdated" pg:"date_updated"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user