rake-db 2.10.21 → 2.10.23
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 +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -961,7 +961,10 @@ const makeAst$1 = (up, name, changeData, changeTableData2, options) => {
|
|
|
961
961
|
const { comment } = options;
|
|
962
962
|
const shape = {};
|
|
963
963
|
for (const key in changeData) {
|
|
964
|
-
|
|
964
|
+
let item = changeData[key];
|
|
965
|
+
if (item instanceof orchidCore.ColumnTypeBase) {
|
|
966
|
+
item = add(item);
|
|
967
|
+
}
|
|
965
968
|
if ("type" in item) {
|
|
966
969
|
if (up) {
|
|
967
970
|
shape[key] = item.type === "change" && item.usingUp ? __spreadProps$2(__spreadValues$3({}, item), { using: item.usingUp }) : item;
|