@replayio-app-building/netlify-recorder 0.15.0 → 0.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1175,12 +1175,10 @@ async function databaseAuditMonitorTable(sql, tableName) {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
const triggerName = `audit_trigger_${tableName}`;
|
|
1177
1177
|
await sql(
|
|
1178
|
-
`DROP TRIGGER IF EXISTS ${triggerName} ON "${tableName}"
|
|
1179
|
-
[]
|
|
1178
|
+
`DROP TRIGGER IF EXISTS ${triggerName} ON "${tableName}"`
|
|
1180
1179
|
);
|
|
1181
1180
|
await sql(
|
|
1182
|
-
`CREATE TRIGGER ${triggerName} AFTER INSERT OR UPDATE OR DELETE ON "${tableName}" FOR EACH ROW EXECUTE FUNCTION audit_trigger_function()
|
|
1183
|
-
[]
|
|
1181
|
+
`CREATE TRIGGER ${triggerName} AFTER INSERT OR UPDATE OR DELETE ON "${tableName}" FOR EACH ROW EXECUTE FUNCTION audit_trigger_function()`
|
|
1184
1182
|
);
|
|
1185
1183
|
}
|
|
1186
1184
|
async function databaseAuditDumpLogTable(sql) {
|