Hello,
I’m trying to upgrade my app from v0.8.2 to v0.16. It’s working locally. I’m trying to deploy it to a Netlify test environment. I got the below error. I notice that my schema.prisma still says sqlite. Do I need to upgrade this to postgresql for production?
Thanks,
2:09:55 PM: $ /opt/build/repo/node_modules/.bin/rw db up --no-db-client
2:09:57 PM: Migrate database up... [started]
2:09:57 PM: $ /opt/build/repo/node_modules/.bin/prisma migrate up --experimental --create-db
2:09:58 PM: Error: Get config {"is_panic":false,"message":"error: Error validating datasource `DS`: The URL for datasource `DS` must start with the protocol `file:`.\n --> schema.prisma:3\n | \n 2 | provider = \"sqlite\"\n 3 | url = env(\"DATABASE_URL\")\n | \n\nValidation Error Count: 1","meta":{"full_error":"error: Error validating datasource `DS`: The URL for datasource `DS` must start with the protocol `file:`.\n --> schema.prisma:3\n | \n 2 | provider = \"sqlite\"\n 3 | url = env(\"DATABASE_URL\")\n | \n\nValidation Error Count: 1"},"error_code":"P1012"}
2:09:58 PM: error Command failed with exit code 1.
2:09:58 PM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2:09:58 PM: Migrate database up... [failed]
2:09:58 PM: → Command failed with exit code 1: yarn prisma migrate up --experimental --create-db
2:09:58 PM: Command failed with exit code 1: yarn prisma migrate up --experimental --create-db