Skip to content

Replace SQLite with Turso #5526

Description

@antimora

Feature description

Replace SQLite with @tursodatabase/turso where SQLite is currently used in the project.

Feature motivation

Using Turso could improve portability and simplify working with a remote-first SQLite-compatible database offering. If the current SQLite usage is creating limitations around deployment, synchronization, or scaling, adopting Turso may provide a more flexible path forward while keeping a SQLite-oriented model.

(Optional) Suggest a Solution

  • Audit where SQLite is currently used in the codebase, build, tests, and documentation.
  • Evaluate whether the intended replacement is the Turso platform itself, the libSQL/Turso client stack, or another integration layer that is compatible with the project architecture.
  • Introduce the new database dependency and adapt the persistence layer behind a narrow abstraction to minimize downstream changes.
  • Update configuration, environment variables, and local development workflows.
  • Migrate tests and CI setup away from SQLite-specific assumptions.
  • Document the migration path, compatibility expectations, and any operational tradeoffs.

Potential considerations:

  • Whether full SQLite compatibility is required for all existing behaviors.
  • Impact on offline or local-only workflows.
  • Dependency, licensing, and runtime implications for Rust targets supported by Burn.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency file

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions