Configured database URLs for the mac.

Run migrations on startup