diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2020-07-21 20:28:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-21 20:28:27 +0800 |
commit | 45631083a452534b988b2ecc583e9258216562cd (patch) | |
tree | cb0fbdb0f971a3c41567f27b4c8c1dbd7547da72 /vendor/xorm.io/xorm/interface.go | |
parent | ed8e064f5ea53dd4012b26cfbe7dcde681e63dc2 (diff) | |
download | gitea-45631083a452534b988b2ecc583e9258216562cd.tar.gz gitea-45631083a452534b988b2ecc583e9258216562cd.zip |
Support use nvarchar for all varchar columns when using mssql (#12269)
* Support use nvarchar for all varchar columns when using mssql
* fix lint
* Change DEFAULT_VARCHAR to nvarchar
* Remove the config for default varchar since it's unnecessary
Diffstat (limited to 'vendor/xorm.io/xorm/interface.go')
-rw-r--r-- | vendor/xorm.io/xorm/interface.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/xorm.io/xorm/interface.go b/vendor/xorm.io/xorm/interface.go index 6aac4ae843..0fe9cbe1ed 100644 --- a/vendor/xorm.io/xorm/interface.go +++ b/vendor/xorm.io/xorm/interface.go @@ -120,6 +120,7 @@ type EngineInterface interface { TableInfo(bean interface{}) (*schemas.Table, error) TableName(interface{}, ...bool) string UnMapType(reflect.Type) + EnableSessionID(bool) } var ( |