Skip to content

Commit

Permalink
feat: placeholder d1-drizzle template
Browse files Browse the repository at this point in the history
  • Loading branch information
iann838 committed Jan 12, 2025
1 parent 8f255dc commit 59f5008
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/d1-drizzle/ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "vitest",
"cf-typegen": "wrangler types",
"migrations:generate": "drizzle-kit generate",
"migrations:apply": "wrangler d1 migrations apply <TBD_D1>"
"migrations:apply": "wrangler d1 migrations apply <TBD_D1NAME>"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.5.2",
Expand Down
4 changes: 2 additions & 2 deletions templates/d1-drizzle/ts/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ enabled = true
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#d1-databases
[[d1_databases]]
binding = "DB"
database_name = "<TBD_D1>"
database_id = "<TBD_D1>"
database_name = "<TBD_D1NAME>"
database_id = "<TBD_D1ID>"

# 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
Expand Down

0 comments on commit 59f5008

Please sign in to comment.