@rudsys/n8n-nodes-sqlite3 0.1.7 → 0.1.9
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.
|
@@ -472,10 +472,9 @@ class SqliteSsh {
|
|
|
472
472
|
sql = "SELECT name FROM sqlite_master WHERE type='table' AND name NOT LIKE 'sqlite_%';";
|
|
473
473
|
}
|
|
474
474
|
else {
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
// For drop: table param is table to drop
|
|
475
|
+
if (!table) {
|
|
476
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Table name is required', { itemIndex: i });
|
|
477
|
+
}
|
|
479
478
|
if (action === 'create') {
|
|
480
479
|
const columnsUi = this.getNodeParameter('columnsUi', i);
|
|
481
480
|
const columns = (columnsUi === null || columnsUi === void 0 ? void 0 : columnsUi.column) || [];
|