Closed okolvik-avento closed 2 weeks ago
I am experiencing this issue too.
I just tried a fresh install on:
execute SQL: ALTER TABLE {{%stripe_subscriptiondata}} ADD COLUMN
latestInvoiceIdVARCHAR(255) GENERATED ALWAYS AS (JSON_UNQUOTE(JSON_EXTRACT(
data, '$.\"latest_invoice\"'))) STORED NULL; ...Exception: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'NULL' at line 1
Hi, thanks for reporting! I raised a PR for this.
Any chance the fix could be released soon?
Stripe 1.3.0 is out with a fix for that. Thanks again!
The latest migration src/migrations/m240819_121818_loosen_aux_data_uniq.php does not successfully complete on mariadb 10.4+ (10.4.34 to be specific). This also affects the new Install.php script.
This is beacuse mariadb does not support the STORED NULL syntax.
Valid syntax for mysql:
Valid syntax for mariadb:
Note that STORED does not require NULL, as NULL is implied when not specified on generated columns.