Sqlite Turso Migration
/install sqlite-turso-migration
SQLite/Turso Migration
STATUS: DRAFT — This skill is planned but not yet fully implemented.
What This Does
Provides a step-by-step migration pattern for moving Prisma-managed PostgreSQL schemas to SQLite (local) or Turso (edge-replicated SQLite). Handles the key incompatibilities between Postgres and SQLite: no arrays (→ JSON columns), no enums (→ text with check constraints), no UUID type (→ text), and different auto-increment semantics. Includes a validation harness to verify data integrity post-migration.
Planned Capabilities
- Prisma schema converter: Postgres dialect → SQLite-compatible schema
- Data migration script with batched upserts and progress reporting
- Turso connection adapter for Prisma (via
@prisma/adapter-libsql) - Type mapping reference: Postgres → SQLite equivalents
- Rollback procedure with dual-write transition period
- Integration tests comparing query results across both databases
When To Use
- Moving a low-traffic AI app from Supabase/Neon/Railway Postgres to Turso to cut costs
- Building local-first apps that sync to Turso for multi-device access
- Migrating from Drizzle/Prisma Postgres to a SQLite-compatible edge setup
- Reducing database cold-start latency by switching from hosted Postgres to embedded SQLite
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install sqlite-turso-migration - After installation, invoke the skill by name or use
/sqlite-turso-migration - Provide required inputs per the skill's parameter spec and get structured output
What is Sqlite Turso Migration?
Prisma PostgreSQL → SQLite/Turso migration pattern for AI workspaces — converts production Postgres schemas to edge-compatible SQLite with Turso replication.... It is an AI Agent Skill for Claude Code / OpenClaw, with 23 downloads so far.
How do I install Sqlite Turso Migration?
Run "/install sqlite-turso-migration" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Sqlite Turso Migration free?
Yes, Sqlite Turso Migration is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Sqlite Turso Migration support?
Sqlite Turso Migration is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Sqlite Turso Migration?
It is built and maintained by Nissan Dookeran (@nissan); the current version is v0.1.0.