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:
parent
e6335dd58c
commit
deb579d8ad
63 changed files with 73767 additions and 13 deletions
|
@ -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'"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue