Prisma Console is migrating from old Old console to new console and data browser isn't yet available in there.
So use this repo as duck tape solution until available.
Replace prisma/schema.prisma
with your own prisma
Create a
.env
file
DATABASE_URL=<your connection string goes here>
Run yarn start
Once docker is up visit 3000
For using cloud run
First time setup
gcloud run deploy <service-name> --source . --add-cloudsql-instances=<cloud-sql-db> --allow-unauthenticated --cpu-boost --update-secrets=<DB_CONNECTION_STRING_SECRET>
Once done go to cloud run and redeploy with env variable as DATABASE_URL
in secret section
SERVICE=<service-name> TAG=<v1-1-1> yarn deploy