Changes from https://github.com/planetscale/nextjs-starter.
Realized the current example was not only out of date, but the demo was broken. Will update the demo site post-merge here 👍
Added port config variable to the migrate-db.js script and .env.local.example files. This allows users to set the port for remote databases like Digital Ocean that don't use the default port.