1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

Microsoft SQL Server driver and prep

This commit is contained in:
Harvey Kandola 2019-03-26 08:51:02 -04:00
parent e6335dd58c
commit deb579d8ad
63 changed files with 73767 additions and 13 deletions

View file

@ -37,7 +37,7 @@ import (
space "github.com/documize/community/domain/space"
"github.com/documize/community/domain/store"
user "github.com/documize/community/domain/user"
_ "github.com/lib/pq" // the mysql driver is required behind the scenes
_ "github.com/lib/pq" // the PostgreSQL driver is required behind the scenes
)
// PostgreSQLProvider supports by popular demand.
@ -176,8 +176,8 @@ func (p PostgreSQLProvider) Params() map[string]string {
return map[string]string{}
}
// Example holds storage provider specific connection string format.
// used in error messages
// Example holds storage provider specific connection string format
// used in error messages.
func (p PostgreSQLProvider) Example() string {
return "database connection string format is 'host=localhost port=5432 sslmode=disable user=admin password=secret dbname=documize'"
}