Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

PostgresDatabaseResource

Handle
📦 CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions v13.6.1
type PostgresDatabaseResource interface{}

Methods

methodWithFlywayMigrationbuilder
WithFlywayMigration(
flywayName string,
migrationScriptsPath string,
) PostgresDatabaseResource
flywayNamestring
migrationScriptsPathstring
PostgresDatabaseResource

Returns a handle; failures surface later via Err().

methodWithFlywayRepairbuilder
WithFlywayRepair(
flywayName string,
migrationScriptsPath string,
) PostgresDatabaseResource
flywayNamestring
migrationScriptsPathstring
PostgresDatabaseResource

Returns a handle; failures surface later via Err().