monorise 1.7.0-dev.12 → 1.7.0-dev.13
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/core/index.js +2 -2
- package/dist/core/index.js.map +1 -1
- package/package.json +1 -1
package/dist/core/index.js
CHANGED
|
@@ -2884,8 +2884,8 @@ function datasetSql(dataset, database, bucket) {
|
|
|
2884
2884
|
var _a;
|
|
2885
2885
|
const history = `${quoteIdentifier(database)}.${quoteIdentifier(dataset.historyTable)}`;
|
|
2886
2886
|
const current = `${quoteIdentifier(database)}.${quoteIdentifier(dataset.currentTable)}`;
|
|
2887
|
-
const historyDdl =
|
|
2888
|
-
const currentDdl =
|
|
2887
|
+
const historyDdl = dataset.historyTable;
|
|
2888
|
+
const currentDdl = dataset.currentTable;
|
|
2889
2889
|
const raw = `${quoteIdentifier(database)}.${quoteIdentifier((_a = dataset.rawTable) != null ? _a : `${dataset.historyTable}_raw`)}`;
|
|
2890
2890
|
const typedColumns = dataset.columns.map(
|
|
2891
2891
|
(column) => `${quoteIdentifier(column.name)} ${column.type === "json" ? "varchar" : column.type}`
|