when posted, check whether post is published (transition from draft to published) and whether post is edited (from published to published). Save published_at and edited_at timestamps accordingly.
when posted, check whether post is published (transition from draft to published) and whether post is edited (from published to published). Save published_at and edited_at timestamps accordingly.

vug/personalwebapp,vug/personalwebapp