rake-db 2.10.47 → 2.10.48

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.d.ts CHANGED
@@ -952,7 +952,7 @@ type BaseTable<CT extends ColumnTypesBase> = {
952
952
  getFilePath(): string;
953
953
  nowSQL?: string;
954
954
  new (): {
955
- columnTypes: CT;
955
+ types: CT;
956
956
  snakeCase?: boolean;
957
957
  language?: string;
958
958
  };
package/dist/index.js CHANGED
@@ -97,7 +97,7 @@ const processRakeDbConfig = (config) => {
97
97
  }
98
98
  if ("baseTable" in config) {
99
99
  const proto = (_a = config.baseTable) == null ? void 0 : _a.prototype;
100
- result.columnTypes = proto.columnTypes || pqb.columnTypes;
100
+ result.columnTypes = proto.types || pqb.columnTypes;
101
101
  if (proto.snakeCase)
102
102
  result.snakeCase = true;
103
103
  if (proto.language)