create-db 1.0.4-pr45-DC-4829-source-flag-17239715470.0 → 1.0.4-pr45-DC-4829-source-flag-17244466791.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -410,7 +410,7 @@ async function createDatabase(name, region, userAgent, returnJson = false) {
410
410
  const directDbName = directConnDetails?.database || "postgres";
411
411
  const directConn =
412
412
  directConnDetails && directHost
413
- ? `postgresql://${directUser}:${directPass}@${directHost}${directPort}/${directDbName}`
413
+ ? `postgresql://${directUser}:${directPass}@${directHost}${directPort}/${directDbName}?sslmode=require`
414
414
  : null;
415
415
 
416
416
  const claimUrl = `${CLAIM_DB_WORKER_URL}?projectID=${projectId}&utm_source=${userAgent}&utm_medium=cli`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-db",
3
- "version": "1.0.4-pr45-DC-4829-source-flag-17239715470.0",
3
+ "version": "1.0.4-pr45-DC-4829-source-flag-17244466791.0",
4
4
  "description": "Instantly create a temporary Prisma Postgres database with one command, then claim and persist it in your Prisma Data Platform project when ready.",
5
5
  "main": "index.js",
6
6
  "author": "",