When updating Craft to use Freeform 4.1.20, after we run migrations, we get an error stating that "ERROR: type "longtext" does not exist".
This is using a postgres DB.
Downgrading to Freeform 4.1.19 makes the migrations work as expected.
Errors and Stack Trace (if available)
*** applying m240724_104556_UpdateLayoutJsonColumnFromTextToLongTextOnFormsTable
> execute SQL: ALTER TABLE {{%freeform_forms}} ALTER COLUMN [[layoutJson]] TYPE LONGTEXT ...Exception: SQLSTATE[42704]: Undefined object: 7 ERROR: type "longtext" does not exist
The SQL being executed was: ALTER TABLE "freeform_forms" ALTER COLUMN "layoutJson" TYPE LONGTEXT (/vendor/yiisoft/yii2/db/Schema.php:676)
What happened?
When updating Craft to use Freeform 4.1.20, after we run migrations, we get an error stating that "ERROR: type "longtext" does not exist".
This is using a postgres DB.
Downgrading to Freeform 4.1.19 makes the migrations work as expected.
Errors and Stack Trace (if available)
How can we reproduce this?
Freeform Edition
Pro
Freeform Version
4.1.20
Craft Version
4.11.0
When did this issue start?
After upgrading from older Freeform version
Previous Freeform Version
No response