diff --git a/dataprovider/sqlcommon.go b/dataprovider/sqlcommon.go index d0f82128..32cbd805 100644 --- a/dataprovider/sqlcommon.go +++ b/dataprovider/sqlcommon.go @@ -55,6 +55,7 @@ func sqlReplaceAll(sql string) string { sql = strings.ReplaceAll(sql, "{{defender_events}}", sqlTableDefenderEvents) sql = strings.ReplaceAll(sql, "{{defender_hosts}}", sqlTableDefenderHosts) sql = strings.ReplaceAll(sql, "{{active_transfers}}", sqlTableActiveTransfers) + sql = strings.ReplaceAll(sql, "{{shared_sessions}}", sqlTableSharedSessions) sql = strings.ReplaceAll(sql, "{{prefix}}", config.SQLTablesPrefix) return sql }