Added db check for sentry2 and invitations using artisan commands