rake-db 2.4.39 → 2.4.40

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
@@ -2816,7 +2816,7 @@ const isTimestamp = (column) => {
2816
2816
  if (!column)
2817
2817
  return false;
2818
2818
  const { default: def } = column.data;
2819
- return column instanceof pqb.TimestampColumn && !column.data.isNullable && def && typeof def === "object" && orchidCore.isRaw(def) && def.__raw === "now()";
2819
+ return column instanceof pqb.TimestampTzColumn && !column.data.isNullable && def && typeof def === "object" && orchidCore.isRaw(def) && def.__raw === "now()";
2820
2820
  };
2821
2821
  const createConstraint = (item) => {
2822
2822
  const kind = pqb.getConstraintKind(item);