added  for custom db to local, added migrations table to test SQL, added hostname to local app environment