t3-code-android-nightly/.repos/effect-smol/migration/annotations/effect__sql-drizzle__Sqlite.yaml
2026-09-07 21:54:44 -07:00

15 lines
1.2 KiB
YAML

"@effect/sql-drizzle/Sqlite#layer":
replacement: "Layer.effect(AppDb, SqliteDrizzle.makeWithDefaults())"
note: "The package was removed; select the matching drizzle-orm Effect backend module, define an application service tag, and compose with its SQL client layer."
"@effect/sql-drizzle/Sqlite#layerWithConfig":
replacement: "Layer.effect(AppDb, SqliteDrizzle.makeWithDefaults(config))"
note: "Select the matching drizzle-orm Effect backend, port config to EffectDrizzleSQLiteConfig, and define an application service tag."
"@effect/sql-drizzle/Sqlite#make":
replacement: "drizzle-orm/effect-sqlite-node#makeWithDefaults"
note: "SQLite integration is backend-specific; use the module matching sql-sqlite-node, -bun, -do, -wasm, libsql, or d1."
"@effect/sql-drizzle/Sqlite#makeWithConfig":
replacement: "matching drizzle-orm Effect SQLite module#makeWithDefaults"
note: "The generic constructor was removed; select the concrete backend and use makeWithDefaults(config), or make(config) with explicit services."
"@effect/sql-drizzle/Sqlite#SqliteDrizzle":
replacement: "matching drizzle-orm Effect SQLite database type"
note: "The generic service tag was removed; use the backend-specific database type and define an application Context.Tag if needed."