Module Sqlite.Schemas

Utilities for introspecting the database schema.

val get_all : conn -> string list Tezos_error_monad.Error_monad.tzresult Lwt.t

get_all conn returns the SQL definitions of all user-created tables and other objects in the database, excluding internal SQLite tables and the migrations tracking table. Useful for debugging and regression testing.