mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 03:45:59 +00:00
SYNC: missing audit logs
This commit is contained in:
committed by
Diflow
parent
527c9c8e6e
commit
d3fffd9530
@@ -1,9 +1,10 @@
|
||||
<script context="module" lang="ts">
|
||||
export async function saveScriptToDatabase({ conid, database }, sql, syncModel = true) {
|
||||
export async function saveScriptToDatabase({ conid, database }, sql, syncModel = true, logMessage = null) {
|
||||
const resp = await apiCall('database-connections/run-script', {
|
||||
conid,
|
||||
database,
|
||||
sql,
|
||||
logMessage,
|
||||
});
|
||||
|
||||
const { errorMessage } = resp || {};
|
||||
|
||||
Reference in New Issue
Block a user