public static void databaseMigrations(){
  Data data=injector.getInstance(Data.class);
  Repo repo=injector.getInstance(Repo.class);
  Api api=injector.getInstance(Api.class);
  data.createTableIfMissing();
  repo.addSourceToTable();
  repo.addBranchToTable();
  api.createTableIfMissing();
}

public static void databaseMigrations ( ) { Data data = injector . getInstance ( Data . class ) ; Repo repo = injector . getInstance ( Repo . class ) ; Api api = injector . getInstance ( Api . class ) ; data . createTableIfMissing ( ) ; repo . addSourceToTable ( ) ; repo . addBranchToTable ( ) ; api . createTableIfMissing ( ) ; }
called on startup to run all the dao object table creation / migration logic . slight overhead using this technique . todo do the migrations inside the sqlite database so the application does not need to
