Skip to content

feat: add a SurrealDB Laravel schema and migration driver foundation #113

@ibourgeois

Description

@ibourgeois

Context

As a developer building on Katra's Surreal foundation, I need Laravel to understand SurrealDB as a database/schema target so migrations can describe graph tables and fields through a Laravel-native workflow instead of only through the custom document store.

Acceptance Criteria

  • A Laravel-compatible Surreal connection foundation exists for schema and migration work.
  • Laravel migrations can create and drop at least one Surreal-backed table/collection through the new driver.
  • The implementation is covered by automated tests.
  • Configuration and service registration are documented in the repo.

Notes

This issue should build on the already-merged Surreal model foundation from #25 rather than replacing it.

The goal here is not full SQL parity. A narrow migration/schema slice is acceptable if it gives Katra a real Laravel migration path for Surreal-backed application data.

Out of Scope

  • Cache, queue, and session driver work
  • Full Eloquent parity for every query feature
  • GraphRAG- or streaming-specific APIs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions