rake-db 2.4.36 → 2.4.37

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
@@ -2266,7 +2266,7 @@ const structureToAst = async (ctx, db) => {
2266
2266
  baseType: domains[`${it.schemaName}.${it.name}`],
2267
2267
  notNull: it.notNull,
2268
2268
  collation: it.collation,
2269
- default: it.default ? orchidCore.raw(it.default) : void 0,
2269
+ default: pqb.simplifyColumnDefault(it.default),
2270
2270
  check: it.check ? orchidCore.raw(it.check) : void 0
2271
2271
  });
2272
2272
  }