code: func (db *DB) Reset() error {
  	var err error
  	exec := func(sql string) {
  		if err == nil {
  			err = db.Exec(sql).Error
  		}
  	}
  
  	exec(`TRUNCATE TABLE apps CASCADE`)
  	exec(`TRUNCATE TABLE ports CASCADE`)
  	exec(`TRUNCATE TABLE slugs CASCADE`)
  	exec(`UPDATE ports SET app_id = NULL`)
  
  	return err
  }
docs: // Reset resets the database to a pristine state.