code: func SetupDBData(cfg abcconfig.DBConfig, testdata TestdataFunc) (int, error) {
  	var err error
  
  	appPath := git.GetAppPath()
  
  	err = createTestDB(cfg)
  	if err != nil {
  		return 0, err
  	}
  
  	count, err := RunMigrations(cfg, filepath.Join(appPath, "db", "migrations"))
  	if err != nil {
  		return count, errors.Wrap(err, "cannot execute migrations up")
  	}
  
  	testdataFile := filepath.Join(appPath, "db", "testdata.sql")
  	err = SetupTestdata(cfg, testdataFile, testdata)
  
  	return count, err
  }
docs: // SetupDBData executes the migrations "up" against the passed in database
  // and also inserts the test data defined in testdata.sql and executes
  // the passed in TestdataFunc handler if present, and then returns the
  // number of migrations run.