@@ -110,15 +110,16 @@ pguserval := (SELECT current_user);
110
110
when
111
111
column_name = ' modify_date' then
112
112
column_value := (select to_char (column_value::timestamp , ' YYYY-MM-DD HH24:MI:SS.MS' ));
113
- -- when
114
- -- column_name = 'achievement_date' then
115
- -- column_value := (select to_date (column_value, 'MM/DD/YYYY'));
116
- -- column_value := (select to_date (column_value));
117
- -- when
118
- -- column_name = 'password' then
119
- -- column_value := regexp_replace(column_value, '\s', '', 'g');
120
- -- column_value := regexp_replace(column_value, E'[\\n\\r]+', '\n\r', 'g');
121
- else
113
+ when
114
+ column_name = ' last_login' then
115
+ column_value := (select to_char (column_value::timestamp , ' YYYY-MM-DD HH24:MI:SS.MS' ));
116
+ when
117
+ column_name = ' last_site_hit_date' then
118
+ column_value := (select to_char (column_value::timestamp , ' YYYY-MM-DD HH24:MI:SS.MS' ));
119
+ when
120
+ column_name = ' corona_event_timestamp' then
121
+ column_value := (select to_char (column_value::timestamp , ' YYYY-MM-DD HH24:MI:SS.MS' ));
122
+ else
122
123
-- RAISE NOTICE ' not boolean';
123
124
end case;
124
125
payload_items := array_append(payload_items, ' "' || replace(column_name, ' "' , ' \" ' ) || ' ":"' || replace(column_value, ' "' , ' \" ' ) || ' "' );
@@ -271,6 +272,8 @@ BEGIN
271
272
RETURN NEW;
272
273
END;
273
274
$body$ LANGUAGE plpgsql
275
+
276
+ ALTER SEQUENCE corona_event_corona_event_id_seq RESTART WITH 77770000 ;
274
277
275
278
CREATE SEQUENCE payloadsequence INCREMENT BY 1 MINVALUE 1 MAXVALUE 9223372036854775807
276
279
START WITH 1 NO CYCLE;
0 commit comments