Update database configuration and add fresh schema

- Update wrangler.toml with new D1 database ID
- Add fresh_schema.sql for clean database initialization
- Applied schema to fresh D1 database
- Server redeployed with correct database binding

This resolves the 'table services has no column named service_name' error
by ensuring the database has the correct v0.4.1+ schema.
This commit is contained in:
2025-12-10 18:17:53 +01:00
parent 85a3de65e2
commit 00c5bbc501
2 changed files with 77 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ compatibility_flags = ["nodejs_compat"]
[[d1_databases]]
binding = "DB"
database_name = "rondevu-offers"
database_id = "b94e3f71-816d-455b-a89d-927fa49532d0"
database_id = "3d469855-d37f-477b-b139-fa58843a54ff"
# Environment variables
[vars]