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

Workflow database schema cannot be changed #1297

Open
felix2000jp opened this issue Sep 18, 2024 · 2 comments
Open

Workflow database schema cannot be changed #1297

felix2000jp opened this issue Sep 18, 2024 · 2 comments

Comments

@felix2000jp
Copy link

I believe the "UsePostgreSQL()" parameter "schemaName" does not work as intended.

Giving it a value other than the default one -"wfc" - will just break the application since the migrations will still create the tables in the default schema because the schema name is explicitly set on the migrations script.

image
image

I think removing the hard coded schema name and allowing an easier override of the WorkflowContext and the UsePostgreSQL() could fix this issue.

I can create a PR with the changes if you agree with this

@danielgerlag
Copy link
Owner

That would be great!

@franz-at-dns
Copy link

in addition, shouldn't the migration-table be created within the same scheme as the tables?
currently, the tables are created in wfc, while the migration history is created in public

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

No branches or pull requests

3 participants