replace some more hive_posts_view with get_post_view_by_id, and change...
Replace some more hive_posts_view with get_post_view_by_id, and change to use ON CONFLICT DO NOTHING on insertion fail instead of pre-checking for insertion fail.
Edited by Bartek Wrona