migrate
constmigrate: (client) =>Effect<void,SessionStoreError> =migrateSqlSessionStore
Defined in: sqlite.ts:62
Applies the store schema. Safe to run on every startup.
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.
Parameters
Section titled “Parameters”client
Section titled “client”SqlClient
Returns
Section titled “Returns”Effect<void, SessionStoreError>