code: func (s *appsService) Destroy(ctx context.Context, db *gorm.DB, app *App) error {
  	if err := appsDestroy(db, app); err != nil {
  		return err
  	}
  
  	return s.Scheduler.Remove(ctx, app.ID)
  }
docs: // Destroy destroys removes an app from the scheduler, then destroys it here.