Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

SqlServer 中 Unknown colType UNIQUEIDENTIFIER #27

Open
lixifun opened this issue Jan 3, 2018 · 4 comments
Open

SqlServer 中 Unknown colType UNIQUEIDENTIFIER #27

lixifun opened this issue Jan 3, 2018 · 4 comments
Labels

Comments

@lixifun
Copy link

lixifun commented Jan 3, 2018

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)

@p581581
Copy link

p581581 commented Jan 24, 2018

Same here. Xorm reverse cannot recognize UNIQUEIDENTIFIER in mssql.

@lunny lunny added the bug label Jan 25, 2018
@p581581
Copy link

p581581 commented Feb 22, 2018

Any update?

@lunny
Copy link
Member

lunny commented Feb 22, 2018

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

@p581581
Copy link

p581581 commented Feb 22, 2018

@lunny I simply add UniqueIdentifier type in core/types.go. Maybe it could fix this bug. See go-xorm/core#38

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants