diff options
author | btrepp <beautrepp@gmail.com> | 2016-12-24 09:37:35 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-24 09:37:35 +0800 |
commit | 25b5ffb6af390eac8d4a76c134379fd1ae88a423 (patch) | |
tree | e085f3f3af71ad81559ba8efeba05caceaa69fd2 /modules/setting | |
parent | f2ff0ee846e8ef42e2f7ba960e86bd8e397f007f (diff) | |
download | gitea-25b5ffb6af390eac8d4a76c134379fd1ae88a423.tar.gz gitea-25b5ffb6af390eac8d4a76c134379fd1ae88a423.zip |
Enables mssql support (#383)
* Enables mssql support
Port of dlobs work in gogs.
Enables options in index.js
Enables MSSQL as a database option in go.
Sets ID to 0 on initial migration. Required for
MSSQL insert statements.
Signed-off-by: Beau Trepp <beautrepp@gmail.com>
* Vendors in denisenkom/go-mssqldb
Includes golang.org/x/crypto/md4
as this is required by go-msssqldb
Signed-off-by: Beau Trepp <beautrepp@gmail.com>
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/setting.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index c82fa9ae6d..b15985627d 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -100,6 +100,7 @@ var ( // Database settings UseSQLite3 bool UseMySQL bool + UseMSSQL bool UsePostgreSQL bool UseTiDB bool |