Defining you d1_databases array under a `[vars]` table will make it where your D1 bindings are not d
Defining you d1_databases array under a
These 2 toml files are not equal:
[vars] table will make it where your D1 bindings are not defined unless you changed your format to use a table for d1_databases also which is why you started to get an error when you moved it.These 2 toml files are not equal:

