Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Db Schema for SqlServer, PostgreSql and Oracle #4677

Conversation

gersti07
Copy link

@gersti07 gersti07 commented Dec 4, 2023

This PR allows you to define a custom DB Schema in V2. This basically merges this #4638 in V2.

Defining a custom Schema:

 elsa.UseWorkflowManagement(management => { management.UseEntityFrameworkCore(ef =>
        ef.UseSqlServer("Server=(localdb)\\MSSQLLocalDb;Initial Catalog=Elsav3CustomSchema;Integrated Security=True;",
        new ElsaDbContextOptions()
        {
            SchemaName = "CustomSchemaName",
        }));
    });

If no Custom-Schema is defined, Elsa will be used.

This change applies to

  • SqlServer
  • PostgreSql
  • Oracle
  • MySql

@gersti07
Copy link
Author

gersti07 commented Dec 4, 2023

@dotnet-policy-service agree company="MMI MUNICH MEDIA INTELLIGENCE GmbH"

1 similar comment
@gerstiatmmi
Copy link

@dotnet-policy-service agree company="MMI MUNICH MEDIA INTELLIGENCE GmbH"

@sfmskywalker sfmskywalker changed the base branch from master to 2.13.x December 13, 2023 08:30
Copy link
Member

@sfmskywalker sfmskywalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sfmskywalker sfmskywalker merged commit ed139c8 into elsa-workflows:2.13.x Dec 13, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants