I have a pages app with functions in one dir, and workers in another -- how can I get them to share

I have a pages app with functions in one dir, and workers in another -- how can I get them to share the local d1 database?
Was this page helpful?