Automatically add post_date to database