• peraphs I’m wrong, but why the column post_id into comment tables with not null constrain ?

    Since I receive an error for post_id not default value into insert query, I’ve changed the tables schema with (default allow NULL)

    ALTER TABLE wp_up_down_comment_vote MODIFY post_id bigint(20) unsigned;
    ALTER TABLE wp_up_down_comment_vote_totals MODIFY post_id bigint(20) unsigned;

    http://ww.wp.xz.cn/extend/plugins/updownupdown-postcomment-voting/

The topic ‘post_id for comments’ is closed to new replies.