From 56785d530df2a77338b5e54e7ada50e242673022 Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Tue, 22 Jul 2025 19:55:14 +0600 Subject: [PATCH 1/4] fix: spacing issue --- create-db/index.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/create-db/index.js b/create-db/index.js index fd1efc6..d7ea13b 100755 --- a/create-db/index.js +++ b/create-db/index.js @@ -352,7 +352,7 @@ async function createDatabase(name, region) { chalk.gray( " Your database will be deleted on " + expiryFormatted + - " if not claimed.\n" + " if not claimed." ) ) ); @@ -391,18 +391,15 @@ async function main() { chooseRegionPrompt = true; } - intro(chalk.cyan.bold("🚀 Prisma Postgres Create DB")); + intro(chalk.cyan.bold("🚀 Creating a Prisma Postgres database")); log.message( chalk.white(`Provisioning a temporary database in ${region}...`) ); - log.message(""); log.message( chalk.gray( `It will be automatically deleted in 24 hours, but you can claim it.` ) ); - log.message(""); - // Interactive mode prompts if (chooseRegionPrompt) { // Prompt for region From 0962105e04a5d315be175aa98df7b8d92c261835 Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Tue, 22 Jul 2025 19:59:18 +0600 Subject: [PATCH 2/4] chore: bump versions to v6 --- create-db/package.json | 2 +- create-pg/package.json | 2 +- create-postgres/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/create-db/package.json b/create-db/package.json index 2006aef..4f56ddb 100644 --- a/create-db/package.json +++ b/create-db/package.json @@ -1,6 +1,6 @@ { "name": "create-db", - "version": "0.0.6", + "version": "0.0.7", "description": "Instantly create a temporary Prisma Postgres database with one command, then claim and persist it in your Prisma Data Platform project when ready.", "main": "index.js", "author": "", diff --git a/create-pg/package.json b/create-pg/package.json index 1df3ea8..901dabe 100644 --- a/create-pg/package.json +++ b/create-pg/package.json @@ -1,6 +1,6 @@ { "name": "create-pg", - "version": "0.0.6", + "version": "0.0.7", "description": "Instantly create a temporary Prisma Postgres database with one command, then claim and persist it in your Prisma Data Platform project when ready.", "main": "index.js", "author": "", diff --git a/create-postgres/package.json b/create-postgres/package.json index 2476f23..0b38826 100644 --- a/create-postgres/package.json +++ b/create-postgres/package.json @@ -1,6 +1,6 @@ { "name": "create-postgres", - "version": "0.0.6", + "version": "0.0.7", "description": "Instantly create a temporary Prisma Postgres database with one command, then claim and persist it in your Prisma Data Platform project when ready.", "main": "index.js", "author": "", From ea757ee04681ab2b5cbd28f2121282eeab11edab Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Tue, 22 Jul 2025 20:05:07 +0600 Subject: [PATCH 3/4] chore: update wrnagler types --- claim-db-worker/worker-configuration.d.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/claim-db-worker/worker-configuration.d.ts b/claim-db-worker/worker-configuration.d.ts index 4d70d46..537e4b9 100644 --- a/claim-db-worker/worker-configuration.d.ts +++ b/claim-db-worker/worker-configuration.d.ts @@ -1,10 +1,8 @@ /* eslint-disable */ -// Generated by Wrangler by running `wrangler types` (hash: 378cd240974b360abc5c1bcd67451f59) +// Generated by Wrangler by running `wrangler types` (hash: accf5b7c35ec548a04578ebae26216a5) // Runtime types generated with workerd@1.20250617.0 2025-06-28 declare namespace Cloudflare { interface Env { - INTEGRATION_TOKEN: string; - CLIENT_SECRET: string; CREATE_DB_DATASET: AnalyticsEngineDataset; CLAIM_DB_RATE_LIMITER: RateLimit; ASSETS: Fetcher; From 3c21a46d8eb25cf3c96ebc960efd2db4b85592d6 Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Tue, 22 Jul 2025 20:22:22 +0600 Subject: [PATCH 4/4] fix: update wrangler id --- claim-db-worker/wrangler.jsonc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/claim-db-worker/wrangler.jsonc b/claim-db-worker/wrangler.jsonc index 94e92ec..ff41a1f 100644 --- a/claim-db-worker/wrangler.jsonc +++ b/claim-db-worker/wrangler.jsonc @@ -2,7 +2,7 @@ "$schema": "node_modules/wrangler/config-schema.json", "name": "claim-db-worker", "main": "src/index.ts", - "account_id": "0ef7f922ce028e16c1a44d98c86511b0", + "account_id": "16b32bbb36161aca01a6357a37bc453e", "compatibility_date": "2025-06-28", "observability": { "enabled": true,