I was getting errors that the database could not save data to the database.
I figured out that even though I did the latest init.sql I was still missing the api_host column.
Trying to use the 01-migration.sql produced this error.
ERROR 1101 (42000) at line 1: BLOB/TEXT column 'api_host' can't have a default value
So, I removed the default value from the schema and it now works!
I had to add $e->getMessage() to the db commit message so I could see that the column was missing. I think the api_host column should be in the init.sql rather than having to run upgrade scripts on initial installs????
Neat module and I hope to learn more about it now that it is working:-)
I was getting errors that the database could not save data to the database.
I figured out that even though I did the latest init.sql I was still missing the api_host column.
Trying to use the 01-migration.sql produced this error.
ERROR 1101 (42000) at line 1: BLOB/TEXT column 'api_host' can't have a default value
So, I removed the default value from the schema and it now works!
I had to add $e->getMessage() to the db commit message so I could see that the column was missing. I think the api_host column should be in the init.sql rather than having to run upgrade scripts on initial installs????
Neat module and I hope to learn more about it now that it is working:-)