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.js
CHANGED
|
@@ -2503,7 +2503,9 @@ const getActualItems = async (db, currentSchema, internal, columnTypes) => {
|
|
|
2503
2503
|
}
|
|
2504
2504
|
for (const key2 in table.shape) {
|
|
2505
2505
|
const column = table.shape[key2];
|
|
2506
|
-
if (column
|
|
2506
|
+
if (column.data.computed) {
|
|
2507
|
+
delete table.shape[key2];
|
|
2508
|
+
} else if (column instanceof pqb.DomainColumn) {
|
|
2507
2509
|
const [schemaName = currentSchema, name2] = rakeDb.getSchemaAndTableFromName(
|
|
2508
2510
|
column.dataType
|
|
2509
2511
|
);
|