---
title: "Discussion on \"Migrating a Large Production App From TypeORM To Prisma\" | Hashnode"
description: "Discussion on \"Migrating a Large Production App From TypeORM To Prisma\". One of the last projects we worked on at Myothis is a property management system for a big client.\nIt's a pretty large codebase, and we built the backend with the NestJS framework, which is database agnostic but provides strong integration with TypeO..."
url: "https://hashnode.com/posts/migrating-a-large-production-app-from-typeorm-to-prisma/5fd88ee22444ad0ea851292b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Migrating a Large Production App From TypeORM To Prisma](https://darioielardi.dev/migrating-a-large-production-app-from-typeorm-to-prisma?utm_source=hashnode&utm_medium=feed)

One of the last projects we worked on at Myothis is a property management system for a big client. It's a pretty large codebase, and we built the backend with the NestJS framework, which is database agnostic but provides strong integration with TypeO...

Dec 15, 2020 · 10 min read · darioielardi.dev  
Updated Apr 13, 2022  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#databases](https://hashnode.com/tag/databases)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#orm](https://hashnode.com/tag/orm)

## Written by

[Dario Ielardi](https://hashnode.com/@darioielardi)

@darioielardi · Rome, Italy

  
[View profile](https://hashnode.com/@darioielardi)

Fullstack Web Developer & Traveler. CTO & Co-Founder @myothis

## Responses 2

Markdown supported · ⌘↵ to post

[zwarag](https://hashnode.com/@zwarag)

[Jan 24, 2022](https://hashnode.com/posts/migrating-a-large-production-app-from-typeorm-to-prisma/5fd88ee22444ad0ea851292b/comment/61ee6e93e247b2151e61bce9)

Hello Dario, thank you for this nice article. It is very well written and gives a great overview. I was wondering. Is your team still using prisma, are you still satisfied with the decision to switch to prisma?

[Dario Ielardi](https://hashnode.com/@darioielardi)

[Jan 24, 2022](https://hashnode.com/posts/migrating-a-large-production-app-from-typeorm-to-prisma/5fd88ee22444ad0ea851292b/comment/61ee6e93e247b2151e61bce9#reply-61ee8246c99aed184e726b54)

We're using Prisma for all our projects, and we haven't looked back a single time.

Thank you for your feedback!

[Krzysztof Szala](https://hashnode.com/@AvantaR)

[Sep 21, 2021](https://hashnode.com/posts/migrating-a-large-production-app-from-typeorm-to-prisma/5fd88ee22444ad0ea851292b/comment/6149de34699fe76cd3486816)

I'm currently struggling with thoughts about migrating from TypeORM to another solution, and I found this article incredibly helpful! Thank you!

[Dario Ielardi](https://hashnode.com/@darioielardi)

[Sep 21, 2021](https://hashnode.com/posts/migrating-a-large-production-app-from-typeorm-to-prisma/5fd88ee22444ad0ea851292b/comment/6149de34699fe76cd3486816#reply-6149df2b20bcc6765ac04efe)

I'm really glad it helped! Thank you for your feedback!

[Krzysztof Szala](https://hashnode.com/@AvantaR)

[Sep 22, 2021](https://hashnode.com/posts/migrating-a-large-production-app-from-typeorm-to-prisma/5fd88ee22444ad0ea851292b/comment/6149de34699fe76cd3486816#reply-614b3452544e242e0c93d151)

[Dario Ielardi](https://hashnode.com/@darioielardi)

Could u tell me how did you handle the relations typing? Due to this article:

[prisma.io/docs/concepts/components/prisma-client/…](https://www.prisma.io/docs/concepts/components/prisma-client/advanced-type-safety/operating-against-partial-structures-of-model-types#problem-using-variations-of-the-generated-model-type)

We need to create different types, when we have relations in our models? Is there any convienient way to automatize this a bit?
