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

DropIndex and RenameIndex don't prefix index name with TablePrefix #235

Closed
GordonFremen opened this issue Dec 26, 2023 · 0 comments
Closed
Assignees

Comments

@GordonFremen
Copy link

GORM Playground Link

go-gorm/playground#675

Description

Note: This is a duplicate of #226 but that does not contain a Playground link.

When using NamingStrategy.TablePrefix to specify a custom schema, said prefix should be taken into account when calling (Migrator).DropIndex and (Migrator).RenameIndex.

I already have a proposed fix ready for this, so it'd be great if you could assign this to me.

@GordonFremen GordonFremen closed this as not planned Won't fix, can't repro, duplicate, stale Dec 28, 2023
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

2 participants