Commit to db so we get a valid post id.