Testing the functionality of Prisma with Python.
-
fill out the
.envfile with your credentials -
start the docker container
docker-compose up -d- Generating Prisma Client Python
poetry run prisma db pushTo change the schema use the migration as follows:
# apply migrations
poetry run prisma migrate dev --name "add comment model"
# generate
poetry run prisma generate