SqlServer 中 Unknown colType UNIQUEIDENTIFIER #27

Open
opened 2018-01-03 09:23:18 +00:00 by lunny · 4 comments
Owner

Author: @lixifun

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)

Author: @lixifun 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)
Author
Owner

Author: @p581581

Same here. Xorm reverse cannot recognize UNIQUEIDENTIFIER in mssql.

Author: @p581581 Same here. Xorm reverse cannot recognize UNIQUEIDENTIFIER in mssql.
Author
Owner

Author: @p581581

Any update?

Author: @p581581 Any update?
Author
Owner

Author: @lunny

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

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

Author: @p581581

@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

Author: @p581581 @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](https://github.com/go-xorm/core/pull/38)
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/cmd#27
No description provided.