Fix bug: published_at always be null
Add DB level restrictions
Bump