atinux / atidone

A full-stack application with Auth, SSR and SQL, running on the edge with Nuxt.
https://todos.nuxt.dev
MIT License
730 stars 73 forks source link

DB tables not created #26

Closed maggie44 closed 3 weeks ago

maggie44 commented 2 months ago

When deploying this directly from the Hub dashboard the D1 tables are not created. I had to link the local dev environment to the project then run pnpm dev --remote to have the migrations run and for the tables to be created.

Took a while to figure this out and doesn't look so great for the Hub when the demo isn't working without the CLI.

atinux commented 2 months ago

Sorry about this, going to fix this very soon!

atinux commented 3 weeks ago

This should be now fixed thanks to https://hub.nuxt.com/changelog/database-migrations

The template is now up to date!