Replies: 6 comments 4 replies
-
planetscale is tricky because of the foreign key constraints did not mix well with prisma migrations. Can you check your _prisma_migrations table and let me know what records are there. |
Beta Was this translation helpful? Give feedback.
-
I don't have I followed this guide https://umami.is/docs/running-on-vercel and deployed directly on vercel. |
Beta Was this translation helpful? Give feedback.
-
How do I update my schema to v1(latest) for my planetscale db? It is mentioned in the docs. I am not sure how to check if the schema in my database is of latest version for v1 or not. |
Beta Was this translation helpful? Give feedback.
-
Can you check if you event / account table have UUID columns? If so I think you should have the latest and you can follow the steps below. I'm hoping we can get planetscale to work.
|
Beta Was this translation helpful? Give feedback.
-
I apologize. The 04_add_uuid migration only exists in v1.4. You would need to run all those commands on v1.4, then upgrade your app to 2.0. |
Beta Was this translation helpful? Give feedback.
-
@franciscao633 how do I check which version of the database schema do I have? In which table is this stored? |
Beta Was this translation helpful? Give feedback.
-
Hey I've followed all the instructions mentioned in migration guide, but I still get the following error.
I have all the tables which were created in by umami v1. See the below screenshot displaying all the tables.
I am using planetscale to store all umami data. v1 is working smoothly with no errors. Also I am deployed the site to vercel.
Beta Was this translation helpful? Give feedback.
All reactions