From 59f500895c9230ab8bb26ca29eb43c3e6ac8a73f Mon Sep 17 00:00:00 2001 From: Paaksing Date: Sun, 12 Jan 2025 00:46:44 -0400 Subject: [PATCH] feat: placeholder d1-drizzle template --- templates/d1-drizzle/ts/package.json | 2 +- templates/d1-drizzle/ts/wrangler.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/d1-drizzle/ts/package.json b/templates/d1-drizzle/ts/package.json index 34ba311..9213565 100644 --- a/templates/d1-drizzle/ts/package.json +++ b/templates/d1-drizzle/ts/package.json @@ -9,7 +9,7 @@ "test": "vitest", "cf-typegen": "wrangler types", "migrations:generate": "drizzle-kit generate", - "migrations:apply": "wrangler d1 migrations apply " + "migrations:apply": "wrangler d1 migrations apply " }, "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", diff --git a/templates/d1-drizzle/ts/wrangler.toml b/templates/d1-drizzle/ts/wrangler.toml index 9b79e9c..dc564b6 100644 --- a/templates/d1-drizzle/ts/wrangler.toml +++ b/templates/d1-drizzle/ts/wrangler.toml @@ -44,8 +44,8 @@ enabled = true # Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#d1-databases [[d1_databases]] binding = "DB" -database_name = "" -database_id = "" +database_name = "" +database_id = "" # Bind a dispatch namespace. Use Workers for Platforms to deploy serverless functions programmatically on behalf of your customers. # Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#dispatch-namespace-bindings-workers-for-platforms