← Back to Skills Marketplace
nissan

Sqlite Turso Migration

by Nissan Dookeran · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ pending
23
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install sqlite-turso-migration
Description
Prisma PostgreSQL → SQLite/Turso migration pattern for AI workspaces — converts production Postgres schemas to edge-compatible SQLite with Turso replication....
README (SKILL.md)

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
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install sqlite-turso-migration
  3. After installation, invoke the skill by name or use /sqlite-turso-migration
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial publish from workspace skill sync.
Metadata
Slug sqlite-turso-migration
Version 0.1.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

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.

💬 Comments