Expand description
Database lifecycle: extension schema installation, migrations, and connection/schema validation.
Re-exports the schema installers, the MigrationService and its result
and status types, and the standalone validation helpers
(validate_database_connection, validate_write_pool_is_primary,
validate_table_exists, validate_column_exists).
Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.
Structs§
- Applied
Migration - Checksum
Drift - Extension
Migration Status - Mark
Applied Outcome - Migration
Config - Migration
Result - Migration
Service - Migration
Status - Pending
Migration - Repair
Result - Squash
Plan
Functions§
- install_
extension_ schemas - install_
extension_ schemas_ full - install_
extension_ schemas_ with_ config - validate_
column_ exists - validate_
database_ connection - validate_
table_ exists - validate_
write_ pool_ is_ primary - Rejects a write pool that resolves to a streaming-replication standby.