Apparently the generated DB schema is duplicated across every CompiledRoute.
Combining the schemas of N routes with M tables will result in N-fold duplication and prisma generate failure.
In turn, this breaks code fixing for server.py, resulting in broken deployments.
Tempfix: use the schema from only one of the CompiledRoutes.
Long-term fix: clean up Codex' DB structure.
Apparently the generated DB schema is duplicated across every
CompiledRoute
. Combining the schemas of N routes with M tables will result in N-fold duplication andprisma generate
failure. In turn, this breaks code fixing for server.py, resulting in broken deployments.Tempfix: use the schema from only one of the
CompiledRoutes
. Long-term fix: clean up Codex' DB structure.