T
Typebot3mo ago
Emmet

Database broken after update

I updated from latest stable to latest commit, and this happened.
No description
7 Replies
Emmet
Emmet3mo ago
Connecting to a different database solved the issue, but is updating always going to require a database wipe? or is there a way to migrate old data to the new database?
Baptiste
Baptiste3mo ago
to latest commit
You probably did something wrong here As it's not an official procedure
Emmet
Emmet3mo ago
i checked out to the commit id, deleted node modules using npkill, re-installed the modules using pnpm i and built the project using pnpm run build:app after this did not work, i deleted typebot.io, re-cloned it to the latest commit and then pnpm i, pnpm run build:app both of these resulted in the same outcome no error in the logs
Baptiste
Baptiste3mo ago
So you are deploying Typebot manually% ?
Baptiste
Baptiste3mo ago
Did you see that notice?
You can setup and migrate the database with the pnpm prisma generate && pnpm db:migrate command.
You can setup and migrate the database with the pnpm prisma generate && pnpm db:migrate command.
That might be the issue
Emmet
Emmet3mo ago
I did I also did this But it did not change anything Creating a brand new database was the only fix