An open source for managing workflows that built for low budget startups
In order to typescript suggests your schema when typing, run the generate command below
$ yarn prisma generate --schema=.\packages\shared-models\src\prisma\schema.prismaMake sure that you have defined database url properly. See .env for more information. Ex:
MONGODB_URL=mongodb+srv://kadmin:[email protected]/kampuni?ssl=true&connectTimeoutMS=5000&maxPoolSize=50Now, generate collections using the below command
$ yarn prisma db push --schema=.\packages\shared-models\src\prisma\schema.prisma