@dbcube/core 1.0.46 → 1.0.49

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 CHANGED
@@ -569,10 +569,11 @@ var Engine = class {
569
569
  setArguments() {
570
570
  let args = [];
571
571
  if (this.config.type == "sqlite") {
572
+ console.log(this.config.config.DATABASE);
572
573
  args = [
573
574
  "--id",
574
575
  "dbcube-" + this.name,
575
- "--database",
576
+ "--database-ref",
576
577
  this.name,
577
578
  "--database",
578
579
  this.config.config.DATABASE + ".db",
@@ -583,7 +584,7 @@ var Engine = class {
583
584
  args = [
584
585
  "--id",
585
586
  "dbcube-" + this.name,
586
- "--database",
587
+ "--database-ref",
587
588
  this.name,
588
589
  "--database",
589
590
  this.config.config.DATABASE,