Hi to all! I'm trying to get a project done with F...
# orm-help
a
Hi to all! I'm trying to get a project done with Fastify and Prism moved inside Docker that will then need to run inside Kubernetes. My doubt originates from the output generated by command
prisma migrate
. The command has as output "`Generated Prisma Client (3.14.0 | library) to ./node_modules/@prisma/client in ....`". My question is the following: does prisma migrate, update only the db or also the filesystem? If it also updates the filesystem, are the changes negligible or at the start of each container do I have to migrate first so that it updates the filesystem?
j
It’s running
prisma generate
as a part of the migration. It’s just building your client.
a
OK but if i run prisma generate on pipeline it's work? Because my pipeline not reach the local db
j
generate does not check the database. It just builds the client based on the structure in the schema.