docs(v2): note storage database bootstrap cleanup

This commit is contained in:
Kit Langton 2026-05-20 20:53:20 -04:00
commit 178840489f

View file

@ -25,6 +25,8 @@ export const layerForPath = (filename: string) =>
export const layer = Layer.unwrap(
Effect.sync(() => {
// TODO: Extract migration/bootstrap from the legacy Database.Client() so V2 storage
// can ensure the schema exists without opening the old global Drizzle connection.
LegacyDatabase.Client()
return layerForPath(LegacyDatabase.getPath())
}),