File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 139139 'htmlformatted ' => array ('tinyint default 0 ' , 'Is this message HTML formatted ' ),
140140 'sendformat ' => array ('varchar(20) ' , 'Format to send this message in ' ),
141141 'template ' => array ('integer ' , 'Template to use ' ),
142- 'processed ' => array ('mediumint unsigned default 0 ' , 'Number Processed ' ),
142+ 'processed ' => array ('integer unsigned default 0 ' , 'Number Processed ' ),
143143 'astext ' => array ('integer default 0 ' , 'Sent as text ' ),
144144 'ashtml ' => array ('integer default 0 ' , 'Sent as HTML ' ),
145145 'astextandhtml ' => array ('integer default 0 ' , 'Sent as Text and HTML ' ), // obsolete
Original file line number Diff line number Diff line change @@ -421,6 +421,10 @@ function output($message)
421421 SaveConfig ('secret ' , bin2hex (random_bytes (20 )));
422422 }
423423
424+ if (version_compare ($ dbversion , '3.6.0 ' ,'< ' )) {
425+ Sql_Query ("alter table {$ GLOBALS ['tables ' ]['message ' ]} change column processed processed integer " );
426+ }
427+
424428 //# longblobs are better at mixing character encoding. We don't know the encoding of anything we may want to store in cache
425429 //# before converting, it's quickest to clear the cache
426430 clearPageCache ();
You can’t perform that action at this time.
0 commit comments