Skip to content

migrateSqlSessionStore

migrateSqlSessionStore(client): Effect<void, SessionStoreError>

Defined in: packages/core/src/session/sql.ts:156

Applies the session migrations through Effect SQL’s Migrator.

The migrations are supplied as effects rather than files, so a binding without a filesystem can still use the migrator. Once a client supports transactions, Migrator records each migration atomically.

SqlClient

Effect<void, SessionStoreError>