I test and received this error:
Error : Contract violation: Query targets posts, but does not return a 'post_id' column