Skip to content
Snippets Groups Projects
Commit dc06efe4 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #10192 TIME 0:10 set attachment column (notif_email_stack) to type text

parent 4f400039
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@
-- *************************************************************************--
UPDATE parameters SET param_value_string = '19.10.1' WHERE id = 'database_version';
ALTER TABLE notif_email_stack ALTER COLUMN attachments TYPE text;
DO $$ BEGIN
IF (SELECT count(attname) FROM pg_attribute WHERE attrelid = (SELECT oid FROM pg_class WHERE relname = 'users') AND attname = 'enabled') THEN
UPDATE users SET status = 'SPD' WHERE enabled = 'N' and (status = 'OK' or status = 'ABS');
......
......@@ -874,7 +874,7 @@ CREATE TABLE notif_email_stack
html_body text,
text_body text,
charset character varying(50) NOT NULL,
attachments character varying(2000),
attachments text,
module character varying(50) NOT NULL,
exec_date timestamp without time zone,
exec_result character varying(50),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment