Skip to content

[New article]: AddDatabase creates actual database #2789

Open
@sebastienros

Description

@sebastienros

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


Associated WorkItem - 408623

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.area-docsdoc-ideaIndicates issues that are suggestions for new topics [org][type][category]

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions