atinux/atidone

Broken production build

fayazara opened this issue · 5 comments

I connected D1 in settings and it throws this error in the console, any idea, what's causing this?

Screenshot 18-05 at 10

Demo - https://nuxt-todos-edge-5ij.pages.dev/
Code - https://github.com/fayazara/nuxt-todos-edge/

Works perfectly in local btw

You may want to add copy/paste the migrations in your D1 database in the console:
CleanShot 2023-05-18 at 12 03 00@2x

How do I do this?

You create a D1 database, open the console of it.

Then copy the content of https://github.com/Atinux/nuxt-todos-edge/blob/main/server/db/migrations/0000_sloppy_starfox.sql in it

Worked, thanks !!