Skip to main content

5 posts tagged with "postgres"

View All Tags

Migrating from Supabase to PostKit: A Practical Guide

· 5 min read
PostKit Team
Appri Technologies

Supabase is a great way to get a PostgreSQL database running in minutes. But as your project grows, you often outgrow the auto-generated migrations and want more control over exactly what SQL runs against your database. PostKit gives you that control — full schema-as-code, session-based migrations, and a deploy pipeline you can reason about.

This guide walks you through bringing a Supabase project into PostKit's migration workflow without disrupting your existing data.

Migrating from Supabase to PostKit

Why We Clone the Database Before Every Migration

· 4 min read
PostKit Team
Appri Technologies

Most database migration tools work the same way: write some SQL, run it against the database, hope for the best. PostKit takes a different approach — before any migration runs, we clone the production database to a local copy and work against that. It sounds like extra overhead. In practice, it catches a category of bugs that no amount of unit testing can find.

Why We Clone the Database Before Every Migration

Managing Multiple PostgreSQL Schemas Without the Pain

· 4 min read
PostKit Team
Appri Technologies

PostgreSQL schemas are namespaces inside a single database. Most applications start with just public and never think about it again. But as applications grow — multi-tenant SaaS, microservices sharing a database, strict separation between application and audit data — you eventually want multiple schemas. And then the tooling usually falls apart.

PostKit handles multiple schemas natively, with a clear model for what goes where.

Managing Multiple PostgreSQL Schemas

From Prisma Migrate to PostKit: Taking Back Your SQL

· 4 min read
PostKit Team
Appri Technologies

Prisma is an excellent ORM and Prisma Migrate is a good solution for teams that want to stay in TypeScript and never write SQL. But some teams reach a point where they want direct SQL control — complex views, functions, triggers, RLS policies, custom indexes. Prisma Migrate's model makes these awkward. PostKit is built for exactly that use case.

From Prisma Migrate to PostKit