Skip to main content

Module db

Module db 

Source
Expand description

db CLI command group: schema inspection, queries, and migration tooling.

execute runs commands against the invocation’s CommandContext: migration variants are routed to the profile or standalone dispatcher depending on whether the invocation is database-scoped, and the remaining subcommands share the context’s pool. Subcommands cover ad-hoc queries, schema introspection, migration apply/down/repair/squash, and the schema doctor.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Structs§

AppliedMigrationInfo
ColumnInfo
DbAssignAdminOutput
DbCountOutput
DbDescribeOutput
DbExecuteOutput
DbIndexesOutput
DbInfoOutput
DbMigrateDownOutput
DbMigrateOutput
DbSizeOutput
DbSquashOutput
DbStatusOutput
DbTablesOutput
DbValidateOutput
ExtensionMigrationStatus
IndexInfo
MigrateMarkAppliedOutput
MigratePlanOutput
MigrateRepairOutput
MigrateStatusOutput
MigrateStatusRow
MigrationDriftInfo
MigrationHistoryOutput
MigrationStatusOutput
PendingMigrationInfo
TableIndexInfo
TableInfo
TableSizeInfo

Enums§

DbCommands
MigrationsCommands

Functions§

execute