diff --git a/hive/db/sql_scripts/get_post_view_by_id.sql b/hive/db/sql_scripts/get_post_view_by_id.sql index 89f202e375b289e720732bf972e02aa930ac3408..5d56876d2456bded6bce5e59cb9fef6243ad240d 100644 --- a/hive/db/sql_scripts/get_post_view_by_id.sql +++ b/hive/db/sql_scripts/get_post_view_by_id.sql @@ -164,7 +164,7 @@ BEGIN hpd_p.permlink, hpd.title, hpd.body, - hivemind_app.extract_img_url_from_json_metadata(hpd.json) as img_url, + hivemind_app.extract_img_url_from_json_metadata(hpd.json)::character varying(1024) as img_url, hcd.category, hp.category_id, hp.depth, @@ -367,7 +367,7 @@ BEGIN hpd_p.permlink, hpd.title, hpd.body, - hivemind_app.extract_img_url_from_json_metadata(hpd.json) as img_url, + hivemind_app.extract_img_url_from_json_metadata(hpd.json)::character varying(1024) as img_url, hcd.category, hp.category_id, hp.depth,