Problem
When doing a migration, you get the following error:
Query could not be executed: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'gr_data' at row 1insert into gatewayresources (gr_node, gr_type, gr_gatewayid, gr_guid, gr_name, gr_folderid, gr_version, gr_seen, gr_url, gr_enabled, gr_hash, gr_data, gr_moduleSha256) values (:gr_node, :gr_type, :gr_gatewayid, :gr_guid, :gr_name, :gr_folderid, :gr_version, :gr_seen, :gr_url, :gr_enabled, :gr_hash, :gr_data, :gr_moduleSha256)
Solution
Connect to the MySQL database AAGM is using
Change the type of the field gr_data in table gatewayresources from varchar to text
Tip |
---|
This issue is fixed in Version 2022.1.3 |