Dave S
10/26/2020, 11:05 PMjknr
10/26/2020, 11:44 PMdocker run --name dave-psql -p 11111:5432 -e POSTGRES_PASSWORD=password -d postgres
and set prisma env <postgresql://postgres>:password@localhost:11111/postgres?schema=public
when you're done you could either just remove and prune the container and its volume just drop the schema that you used, eg:
psql <postgres://postgres>:password@localhost:11111/postgres -c 'DROP SCHEMA public CASCADE;'
Dave S
10/27/2020, 2:38 AM