Should this be a local database? Look for a local database first. If it exists, connect to it. If not, default to using the dev database. Make sure it's logged clearly which database is being used.
Should this be a local database?
Look for a local database first. If it exists, connect to it. If not, default to using the dev database.
Make sure it's logged clearly which database is being used.