rake-db 2.23.15 → 2.23.16

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.mjs CHANGED
@@ -112,7 +112,7 @@ const columnToSql = (name, item, values, hasMultiplePrimaryKeys, snakeCase) => {
112
112
  line.push(identityToSql(item.data.identity));
113
113
  } else if (item.data.generated) {
114
114
  line.push(
115
- `GENERATED ALWAYS AS (${item.data.generated({
115
+ `GENERATED ALWAYS AS (${item.data.generated.toSQL({
116
116
  values,
117
117
  snakeCase
118
118
  })}) STORED`