ididit
Explore posts from serversPPrisma
•Created by ididit on 2/4/2025 in #help-and-questions
creating a BM25 index
I have created a BM25 index by creating a migration file to create it and also added the schema to ignore the index.
and here is the custom migration file i created to run:
but the next time i run a migration or try to create a new one, it hangs with a message like:
this is blocking me from running or creating new migration file and the database is in a limbo. please help!
7 replies
how can i create a router off of a JSON?
is it possible to create a route dynamically off of a JSON?
lets say i have:
but i want this created dynamically from a JSON that looks something like this:
afterwards i applied the routes to the middleware and it works on backend:
but from the client-side, i lost all type inference to these routes. anyone ever get this to work?
2 replies