v3 Upgrade guide: Include payload column type change #121
-
Hi, nice package you have here. We had a nasty surprise recently due to the the webhook_calls payload column changing from type text to type json between v2 and v3. In v2, the payload column is of type text: In v3, the payload column has changed to type json: The v3 upgrade guide correctly tells you to add the url and headers columns, but does not mention the payload column change: StripeWebhookProfile uses a json operator which will fail (HTTP 500) if the payload column is not changed to type json: To fix it, adding this to the add_columns_to_webhook_calls upgrade migration works on MySQL:
But we use PostgreSQL, and unsurprisingly this doesn't work. This raw SQL works:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We currently only support MySQL. Feel free to PR this suggestion to the docs for Postgres users. |
Beta Was this translation helpful? Give feedback.
We currently only support MySQL. Feel free to PR this suggestion to the docs for Postgres users.