docs(v2): note storage database bootstrap cleanup
This commit is contained in:
parent
71423b9a58
commit
178840489f
1 changed files with 2 additions and 0 deletions
|
|
@ -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())
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue