Open
Description
Proposed topic or title
AddDatabase now creates the database if it doesn't exist
Location in table of contents.
No response
Reason for the article
SQL Server: dotnet/aspire#8022
Postgres: dotnet/aspire#8085
dotnet/aspire#7101
Article abstract
AddDatabase
is assumed by most users to actually create a database. Before 9.2 it doesn't.
WithCreationScript
allows to provide custom script instead of the default CREATE DATABASE
Relevant searches
No response