Skip to main content

3 posts tagged with "workflow"

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

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