---
title: "Discussion on \"Building with Purpose 4: Adding the models and relations\" | Hashnode"
description: "Discussion on \"Building with Purpose 4: Adding the models and relations\". Learn to add models and define relationships in a database, including User, Feedback, Town, Vote, and Comment models with unique constraints"
url: "https://hashnode.com/posts/building-with-purpose-4-adding-the-models-and-relations/6801178045343b125ed3cd74"
---

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

Discussion

# [Building with Purpose 4: Adding the models and relations](https://jordi0lle.hashnode.dev/building-with-purpose-4-adding-the-models-and-relations?utm_source=hashnode&utm_medium=feed)

Learn to add models and define relationships in a database, including User, Feedback, Town, Vote, and Comment models with unique constraints

Apr 17, 2025 · 3 min read · jordi0lle.hashnode.dev  
Read the article

-   [#databases](https://hashnode.com/tag/databases)
-   [#users](https://hashnode.com/tag/users)
-   [#prisma](https://hashnode.com/tag/prisma)
-   [#feedback](https://hashnode.com/tag/feedback)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#uml](https://hashnode.com/tag/uml)

## Written by

[Jordi Ollé Ballesté](https://hashnode.com/@jordi0lle)

@jordi0lle · Alcover, CAT

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

Always evolving Full-Stack Developer

Always evolving Full-Stack Developer 👨🏼‍💻 Mountain addict 🗻

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
