orchid-orm 1.6.10 → 1.6.11

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
@@ -2125,6 +2125,9 @@ const getColumnMethodArgs = (t, to, key) => {
2125
2125
  if (key === "foreignKeys") {
2126
2126
  return pqb.columnForeignKeysToCode(value);
2127
2127
  }
2128
+ if (key === "check") {
2129
+ return [pqb.columnCheckToCode(t, value)];
2130
+ }
2128
2131
  const code = [`.${key}(`];
2129
2132
  if (key === "collate" || key === "compression") {
2130
2133
  orchidCore.addCode(code, orchidCore.singleQuote(value));