Parses an exma schema to a prisma schema
yarn add -D exma-prisma
... or ...
npm i --dev exma-prisma
In your schema.exma
file add the following generator.
plugin "exma-prisma" {
generator { client { provider "prisma-client-js" } }
db { provider "cockroachdb" url ["DATABASE_URL"] }
output "./prisma.schema"
}