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

sync Keycloak users with Documize

This commit is contained in:
Harvey Kandola 2017-03-19 14:25:21 +00:00
parent b2620e80e1
commit 8c062d592a
11 changed files with 178 additions and 55 deletions

View file

@ -38,7 +38,7 @@ var dbPtr **sqlx.DB
func Check(Db *sqlx.DB, connectionString string) bool {
dbPtr = &Db
log.Info("Running database checks, this may take a while...")
log.Info("Database checks: started")
csBits := strings.Split(connectionString, "/")
if len(csBits) > 1 {
@ -73,8 +73,8 @@ func Check(Db *sqlx.DB, connectionString string) bool {
// MySQL and Percona share same version scheme (e..g 5.7.10).
// MariaDB starts at 10.2.x
sqlVariant := GetSQLVariant(dbComment)
log.Info("SQL variant: " + sqlVariant)
log.Info("SQL version: " + version)
log.Info("Database checks: SQL variant " + sqlVariant)
log.Info("Database checks: SQL version " + version)
verNums, err := GetSQLVersion(version)
if err != nil {