Updated Post.add to use slug instead of ID due to SQLITE returning 0 after insert within trigger.