Closed Pinpickle closed 8 years ago
Probable solution is to make it nullable, or make something updating fields... :/
Yea I noticed this on a recent bolt site. Changing sqlite to mysql fixes this (as well as giving other advantages of mysql), but may not be practical for some. I believe sqlite is very particular on setting of default values, while mysql seems to figure them out itself.
EDIT: You might be able to bandaid by executing the SQL directly onto the sqlite database (using the command line). Perhaps something like this?
ALTER TABLE bolt_resources ADD COLUMN seo CLOB NOT NULL DEFAULT ''
or even just
ALTER TABLE bolt_resources ADD COLUMN seo CLOB
In Bolt v2.2.16, when I add a field of type SEO when a database (SQLite) is already present, I get the following exception:
On the latest SEO extension version