Skip to main content

Module db

Module db 

Source

Functions§

open
Open the shared accounting DB (creating dirs + file if missing) and run pending migrations. Use this in every CLI that wants to read/write the suite’s data.
open_at
schema_version
Current applied migration version — useful for doctor / health checks.