Skip to content

Error occurs when reverting migration m20241211_184751_create_provider_oidc #12

@Yoeori

Description

@Yoeori

When refreshing the SeaORM migration m20241211_184751_create_provider_oidc the following error is thrown:

Applying migration 'm20241211_184751_create_provider_oidc'
Execution Error: error returned from database: type "oidc_provider_pkce_code_challenge" already exists
Fail to run migration

Error seems to stem from the oidc_provider_pkce_code_challenge enum not being cleaned up on the down migration.

Expected behavior
The migration is correctly reverted.

I'll try to have a look and create a PR

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions