orchid-orm 1.32.8 → 1.32.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.
- package/dist/migrations.js +3 -1
- package/dist/migrations.js.map +1 -1
- package/dist/migrations.mjs +3 -1
- package/dist/migrations.mjs.map +1 -1
- package/package.json +1 -1
package/dist/migrations.mjs
CHANGED
|
@@ -2502,7 +2502,9 @@ const getActualItems = async (db, currentSchema, internal, columnTypes) => {
|
|
|
2502
2502
|
}
|
|
2503
2503
|
for (const key2 in table.shape) {
|
|
2504
2504
|
const column = table.shape[key2];
|
|
2505
|
-
if (column
|
|
2505
|
+
if (column.data.computed) {
|
|
2506
|
+
delete table.shape[key2];
|
|
2507
|
+
} else if (column instanceof DomainColumn) {
|
|
2506
2508
|
const [schemaName = currentSchema, name2] = getSchemaAndTableFromName(
|
|
2507
2509
|
column.dataType
|
|
2508
2510
|
);
|