Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
extension/CJW Newsletter beta
-
None
Description
If you enable cjw_newsletter and go to the admin system db upgradecheck you will get
some SQL which is not valid to create the nessesary db tables.
The problem was that the tinyint field has as default value '' instead of 0
To fix this the schema.sql has to be updated + share/db_schema.dba
You have to perform an sql update to prior versions
ALTER TABLE cjwnl_edition_send CHANGE COLUMN status status tinyint(4) NOT NULL DEFAULT '0'; ALTER TABLE cjwnl_edition_send_item CHANGE COLUMN output_format_id output_format_id tinyint(4) NOT NULL DEFAULT '0'; ALTER TABLE cjwnl_edition_send_item CHANGE COLUMN status status tinyint(4) NOT NULL DEFAULT '0'; ALTER TABLE cjwnl_mailbox CHANGE COLUMN is_ssl is_ssl tinyint(1) NOT NULL DEFAULT '0';
Attachments
Issue Links
- relates to
-
EZP-18192 db schema management: improve handling of default values and nullability
- Closed