---
title: "Discussion on \"Database Schema Design for Multi Product AI SaaS. What I Wish I Had Known Earlier\" | Hashnode"
description: "Discussion on \"Database Schema Design for Multi Product AI SaaS. What I Wish I Had Known Earlier\". The database decisions you make in week one of building a SaaS product will constrain you for years. Here are the schema patterns I refined across 8 AI products and the migrations I had to run because I got them wrong the first time."
url: "https://hashnode.com/posts/database-schema-design-for-multi-product-ai-saas-what-i-wish-i-had-known-earlier/69c4c43c10e664c5da497b59"
---

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

Discussion

# [Database Schema Design for Multi Product AI SaaS. What I Wish I Had Known Earlier](https://tilakrajai.hashnode.dev/database-schema-design-for-multi-product-ai-saas-what-i-wish-i-had-known-earlier?utm_source=hashnode&utm_medium=feed)

The database decisions you make in week one of building a SaaS product will constrain you for years. Here are the schema patterns I refined across 8 AI products and the migrations I had to run because I got them wrong the first time.

Mar 26 · 4 min read · tilakrajai.hashnode.dev  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#supabase](https://hashnode.com/tag/supabase)
-   [#databases](https://hashnode.com/tag/databases)
-   [#schema](https://hashnode.com/tag/schema)
-   [#saas](https://hashnode.com/tag/saas)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#ai](https://hashnode.com/tag/ai)

## Written by

[Tilak Raj](https://hashnode.com/@tilakraj)

@tilakraj · Vancouver, Canada

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

Founder and CEO of Brainfy AI, writing about AI products, SaaS architecture, and startup execution.

Founder and CEO of Brainfy AI Inc in Canada. AI product leader and full stack engineer with 13 plus years experience building SaaS platforms. Building RealtorDesk AI, Canada Compliance AI, Indigenous Rising AI, AgriIntel, CovioIQ, and PetVitale. Focus on AI automation, LLM systems, RAG architecture, and enterprise workflows. Writing about AI products, startup execution, SaaS architecture, and real lessons from building production AI systems. Edmonton, Canada.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
