mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-25 09:00:27 +00:00
fix prefix for defender database tables
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
8cd9e886f3
commit
0a3122f03e
1 changed files with 5 additions and 2 deletions
|
@ -652,10 +652,13 @@ func validateSQLTablesPrefix() error {
|
||||||
sqlTableAdmins = config.SQLTablesPrefix + sqlTableAdmins
|
sqlTableAdmins = config.SQLTablesPrefix + sqlTableAdmins
|
||||||
sqlTableAPIKeys = config.SQLTablesPrefix + sqlTableAPIKeys
|
sqlTableAPIKeys = config.SQLTablesPrefix + sqlTableAPIKeys
|
||||||
sqlTableShares = config.SQLTablesPrefix + sqlTableShares
|
sqlTableShares = config.SQLTablesPrefix + sqlTableShares
|
||||||
|
sqlTableDefenderEvents = config.SQLTablesPrefix + sqlTableDefenderEvents
|
||||||
|
sqlTableDefenderHosts = config.SQLTablesPrefix + sqlTableDefenderHosts
|
||||||
sqlTableSchemaVersion = config.SQLTablesPrefix + sqlTableSchemaVersion
|
sqlTableSchemaVersion = config.SQLTablesPrefix + sqlTableSchemaVersion
|
||||||
providerLog(logger.LevelDebug, "sql table for users %#v, folders %#v folders mapping %#v admins %#v "+
|
providerLog(logger.LevelDebug, "sql table for users %#v, folders %#v folders mapping %#v admins %#v "+
|
||||||
"api keys %#v shares %#v schema version %#v", sqlTableUsers, sqlTableFolders, sqlTableFoldersMapping,
|
"api keys %#v shares %#v defender hosts %#v defender events %#v schema version %#v",
|
||||||
sqlTableAdmins, sqlTableAPIKeys, sqlTableShares, sqlTableSchemaVersion)
|
sqlTableUsers, sqlTableFolders, sqlTableFoldersMapping, sqlTableAdmins, sqlTableAPIKeys,
|
||||||
|
sqlTableShares, sqlTableDefenderHosts, sqlTableDefenderEvents, sqlTableSchemaVersion)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue