@absolutejs/auth 0.68.1 → 0.68.2

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/server.js CHANGED
@@ -39740,8 +39740,13 @@ var formatDefault = (value) => {
39740
39740
  }
39741
39741
  return String(value);
39742
39742
  };
39743
+ var columnSqlType = (column) => {
39744
+ const dimensions = Reflect.get(column, "dimensions");
39745
+ const elementType = column.getSQLType();
39746
+ return typeof dimensions === "number" && dimensions > 0 ? `${elementType}${"[]".repeat(dimensions)}` : elementType;
39747
+ };
39743
39748
  var columnSql = (column) => {
39744
- const parts = [`"${column.name}"`, column.getSQLType()];
39749
+ const parts = [`"${column.name}"`, columnSqlType(column)];
39745
39750
  if (column.primary)
39746
39751
  parts.push("PRIMARY KEY");
39747
39752
  if (column.notNull && !column.primary)
@@ -40939,5 +40944,5 @@ export {
40939
40944
  VerificationProviderError
40940
40945
  };
40941
40946
 
40942
- //# debugId=6C0794C80C58801664756E2164756E21
40947
+ //# debugId=865518CE28CCE01064756E2164756E21
40943
40948
  //# sourceMappingURL=server.js.map