fix: repair healthz mysql check and im tenant creation

- healthz: Scan(new(int)) is not supported by GoFrame, use .One() so
  the mysql check no longer reports a false failure
- im_tenant: set updated_by on insert for both im_tenant and
  im_tenant_config, otherwise new tenant creation fails with
  "Field 'updated_by' doesn't have a default value"
- gitignore: exclude .trae/ local debugging artifacts
This commit is contained in:
Austin
2026-09-16 18:45:37 +08:00
parent fe5c7af7e2
commit 32491e9cdd
4 changed files with 8 additions and 1 deletions
@@ -38,6 +38,7 @@ type ImTenantInsertFields struct {
DbDsn string `json:"dbDsn" dc:"独立连接串"`
State int `json:"state" dc:"状态"`
CreatedBy int64 `json:"createdBy" dc:"创建者"`
UpdatedBy int64 `json:"updatedBy" dc:"更新者"`
}
// ImTenantConfigUpdateFields 修改IM租户配置字段过滤