cmd icon indicating copy to clipboard operation
cmd copied to clipboard

SqlServer 中 Unknown colType UNIQUEIDENTIFIER

Open lixifun opened this issue 7 years ago • 4 comments

xorm reverse mssql "sever=127.0.0.1;user id=sa;password=123;port=49783;database=WQMonData" templates\goxorm

2018/01/03 17:16:17 [Error] reverse.go:176 Unknown colType UNIQUEIDENTIFIER for WQ_Mon_T_VerifierInfo - id

SqlServer 中不识别 全局唯一标识符 (GUID)

lixifun avatar Jan 03 '18 09:01 lixifun

Same here. Xorm reverse cannot recognize UNIQUEIDENTIFIER in mssql.

p581581 avatar Jan 24 '18 09:01 p581581

Any update?

p581581 avatar Feb 22 '18 01:02 p581581

@p581581 I'm not familiar with MSSQL. Maybe someone could send a PR to fix this? I think it's not difficult.

lunny avatar Feb 22 '18 02:02 lunny

@lunny I simply add UniqueIdentifier type in core/types.go. Maybe it could fix this bug. See https://github.com/go-xorm/core/pull/38

p581581 avatar Feb 22 '18 05:02 p581581