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