fix: update UseORM description to specify supported databases (MySQL, PostgreSQL, SQL Server)

This commit is contained in:
Marvin Zhang
2025-09-16 14:04:01 +08:00
parent 293e630f6f
commit 875ca290b5

View File

@@ -22,7 +22,7 @@ type Database struct {
Active bool `json:"active" bson:"active" description:"Active"` Active bool `json:"active" bson:"active" description:"Active"`
ActiveAt time.Time `json:"active_ts" bson:"active_ts" description:"Active at"` ActiveAt time.Time `json:"active_ts" bson:"active_ts" description:"Active at"`
IsDefault bool `json:"is_default" bson:"-" binding:"-"` IsDefault bool `json:"is_default" bson:"-" binding:"-"`
UseORM bool `json:"use_orm" bson:"use_orm" description:"Use ORM instead of legacy database service"` UseORM bool `json:"use_orm" bson:"use_orm" description:"Use ORM instead of legacy database service (only for MySQL, PostgreSQL, SQL Server)"`
MongoParams *struct { MongoParams *struct {
AuthSource string `json:"auth_source,omitempty" bson:"auth_source,omitempty" description:"Auth source"` AuthSource string `json:"auth_source,omitempty" bson:"auth_source,omitempty" description:"Auth source"`