aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-06-25 00:37:53 -0500
committerDhravya <[email protected]>2024-06-25 00:37:53 -0500
commit36f3f0a95edd7f33c37e683c27f601cd003fc541 (patch)
treec9060bc2caf90aba34a86c7d6ea69b98acd5bce5
parentto a responsive future 🚀 (diff)
downloadsupermemory-36f3f0a95edd7f33c37e683c27f601cd003fc541.tar.xz
supermemory-36f3f0a95edd7f33c37e683c27f601cd003fc541.zip
dev and prod databases
-rw-r--r--apps/web/wrangler.toml8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/web/wrangler.toml b/apps/web/wrangler.toml
index da9cd616..d4312161 100644
--- a/apps/web/wrangler.toml
+++ b/apps/web/wrangler.toml
@@ -12,10 +12,12 @@ binding = "STORAGE"
bucket_name = "dev-r2-anycontext"
-[[d1_databases]]
+[[env.production.d1_databases]]
binding = "DATABASE"
-# database_name = "prod-d1-supermemory"
-# database_id = "f527a727-c472-41d4-8eaf-3d7ba0f2f395"
+database_name = "prod-d1-supermemory"
+database_id = "f527a727-c472-41d4-8eaf-3d7ba0f2f395"
+[[env.preview.d1_databases]]
+binding = "DATABASE"
database_name = "dev-d1-anycontext"
database_id = "fc562605-157a-4f60-b439-2a24ffed5b4c" \ No newline at end of file