Skip auto dumping database migration

Fix user id from context
This commit is contained in:
Jamie Curnow committed 2023-05-29 14:33:58 +10:00
1 parent cbcb0cc0f8
commit dde368f733
9 files changed
+9 -8

No files matched your search

@@ -10,7 +10,7 @@ import (
// Model is the model
type Model struct {
entity.ModelBase
UserID int `json:"user_id" gorm:"column:user_id" filter:"user_id,integer"`
UserID uint `json:"user_id" gorm:"column:user_id" filter:"user_id,integer"`
Name string `json:"name" gorm:"column:name" filter:"name,string"`
Type string `json:"type" gorm:"column:type" filter:"type,string"`
Template string `json:"template" gorm:"column:template" filter:"template,string"`