Skip to content

Commit 3983b66

Browse files
committed
fix: update database name and ID in wrangler.toml for D1 bindings
1 parent 022d01a commit 3983b66

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

wrangler.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ UPSTREAM_ORIGIN = ""
1717
# D1 Database Binding - SQLite for Cloudflare
1818
[[d1_databases]]
1919
binding = "DB"
20-
database_name = "github-stats"
21-
database_id = "YOUR_DATABASE_ID"
20+
database_name = "stats"
21+
database_id = "a2b03b75-e470-480a-acd4-89bad0b42794"
2222

2323
# KV Namespace Bindings - for caching
2424
[[kv_namespaces]]
@@ -70,7 +70,7 @@ UPSTREAM_ORIGIN = ""
7070
[[env.production.d1_databases]]
7171
binding = "DB"
7272
database_name = "github-stats"
73-
database_id = "YOUR_PROD_DATABASE_ID"
73+
database_id = "a2b03b75-e470-480a-acd4-89bad0b42794"
7474

7575
[[env.production.kv_namespaces]]
7676
binding = "bind_stats"

0 commit comments

Comments
 (0)