From 36f3f0a95edd7f33c37e683c27f601cd003fc541 Mon Sep 17 00:00:00 2001 From: Dhravya Date: Tue, 25 Jun 2024 00:37:53 -0500 Subject: [PATCH] dev and prod databases --- apps/web/wrangler.toml | 8 +++++--- 1 file 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