---
title: "Discussion on \"HustleStats Firebase Migration Days 2-7: Schema, Auth Swap, Data Port, and the Cost Cliff\" | Hashnode"
description: "Discussion on \"HustleStats Firebase Migration Days 2-7: Schema, Auth Swap, Data Port, and the Cost Cliff\". Six days. Four commits. The entire HustleStats backend moved from PostgreSQL + NextAuth to Firebase.\nDay 2: Firestore Schema\nThe Firestore subcollection hierarchy follows the access pattern:\nusers/{ui"
url: "https://hashnode.com/posts/hustlestats-firebase-migration-days-2-7-schema-auth-swap-data-port-and-the-cost-cliff/6a449d5c4fb2ee3e4a0169f3"
---

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

Discussion

# [HustleStats Firebase Migration Days 2-7: Schema, Auth Swap, Data Port, and the Cost Cliff](https://jeremylongshore.hashnode.dev/hustlestats-firebase-migration-days-2-7-schema-auth-swap-data-port-and-the-cost-cliff?utm_source=hashnode&utm_medium=feed)

Six days. Four commits. The entire HustleStats backend moved from PostgreSQL + NextAuth to Firebase. Day 2: Firestore Schema The Firestore subcollection hierarchy follows the access pattern: users/{ui

Jul 1 · 4 min read · jeremylongshore.hashnode.dev  
Read the article

-   [#firebase](https://hashnode.com/tag/firebase)
-   [#firestore](https://hashnode.com/tag/firestore)
-   [#authentication](https://hashnode.com/tag/authentication)
-   [#migration](https://hashnode.com/tag/migration)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#hustlestats](https://hashnode.com/tag/hustlestats)

## Written by

[Jeremy Longshore](https://hashnode.com/@jeremylongshore)

@jeremylongshore · Gulf Shores AL

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

Intentsolutions dot io

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
