Skip to content

feat/refractor(auth-svc/drizzle): refractor authsvc database ORM from… - #4

Merged
UsmanDev24 merged 5 commits into
mainfrom
authsvc-prisma-to-drizzle
Jul 11, 2026
Merged

feat/refractor(auth-svc/drizzle): refractor authsvc database ORM from…#4
UsmanDev24 merged 5 commits into
mainfrom
authsvc-prisma-to-drizzle

Conversation

@UsmanDev24

@UsmanDev24 UsmanDev24 commented Jul 11, 2026

Copy link
Copy Markdown
Owner

… prisma to drizzle-orm, app.mjs refractor, users-db.mjs refractor, docker compose files updated

  • In production database apply drizzle migration manually as bun run drizzlekit-prod pull --init
  • Actually I just run bun run drizzlekit-prod pull --init , which deleted the old prisma migration tables and applied the drizzle migration, I should of does this first in development database and create a pipeline for production envirnment. But I does this manually on both prod and dev.

The Main thing is my production database remain safe during this process and the transition from prisma to drizzle was successfull

… prisma to drizzle-orm, app.mjs refractor, users-db.mjs refractor, docker compose files updated

- In production database apply drizzle migration manually  as bun run drizzlekit-prod pull -init
…rver.mjs, dockerfile CMD updated

- I forgot to do this because on railway still old dockerfile is running.
@UsmanDev24
UsmanDev24 marked this pull request as ready for review July 11, 2026 13:19
@UsmanDev24
UsmanDev24 merged commit 0aa2b68 into main Jul 11, 2026
2 checks passed
@UsmanDev24
UsmanDev24 deleted the authsvc-prisma-to-drizzle branch July 11, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant