mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
WIP SQL Server support
This commit is contained in:
parent
64403c402b
commit
a41f43c380
9 changed files with 804 additions and 749 deletions
|
@ -71,7 +71,7 @@ func InitRuntime(r *env.Runtime, s *store.Store) bool {
|
|||
}
|
||||
|
||||
// Open connection to database
|
||||
db, err := sqlx.Open(r.StoreProvider.DriverName(), r.StoreProvider.MakeConnectionString()) //r.Flags.DBConn
|
||||
db, err := sqlx.Open(r.StoreProvider.DriverName(), r.StoreProvider.MakeConnectionString())
|
||||
if err != nil {
|
||||
r.Log.Error("Unable to open database", err)
|
||||
os.Exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue