Now stores posts in database