- 
                Notifications
    You must be signed in to change notification settings 
- Fork 715
Closed
Labels
area-integrationsIssues pertaining to Aspire Integrations packagesIssues pertaining to Aspire Integrations packagesmysqlIssues related to MySQL integrationsIssues related to MySQL integrations
Milestone
Description
Currently I can only add a single database schema per container.
using Gsb.AppHost.Constants;
var builder = DistributedApplication.CreateBuilder(args);
var sqlMySql = builder.AddMySql(ResourceConstants.SqlMySql)
                      .WithEnvironment(DatabaseConstants.MySqlConnection, ResourceConstants.SqlMySql)
                      .AddDatabase(SchemaConstants.Configuration);Preferred solution with multiple database schema per container.
using Gsb.AppHost.Constants;
var builder = DistributedApplication.CreateBuilder(args);
var sqlMySql = builder.AddMySql(ResourceConstants.SqlMySql)
                      .WithEnvironment(DatabaseConstants.MySqlConnection, ResourceConstants.SqlMySql)
                      .AddDatabase(SchemaConstants.Configuration)
                      .AddDatabase(SchemaConstants.Customers)
                      .AddDatabase(SchemaConstants.Laywers);Metadata
Metadata
Assignees
Labels
area-integrationsIssues pertaining to Aspire Integrations packagesIssues pertaining to Aspire Integrations packagesmysqlIssues related to MySQL integrationsIssues related to MySQL integrations