mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-17 12:56:41 +02:00
docs(v2): note storage database bootstrap cleanup
This commit is contained in:
@@ -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())
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user