-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Please rename the LOCK_PK index #3035
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
Comments
This index predates the one in spring-cloud-task by more than 18 months. |
I guess that's a "no". |
Well, sounds like indexes are global objects, and even if Spring Cloud Task fixes their name do not collide with ours, that doesn't mean we are not going to similar problem in some other use-case: the For time being you really can rename one or another index in your schema: That is really what we suggest in our docs: the scripts we provide in JDBC module are samples and can be adjusted any possible way. As long as it satisfies the API in the framework which uses those tables in queries, of course... @garyrussell , WDYT? |
Makes sense, yes. |
Fixes spring-projects#3035 To avoid names collision for primary key indexes on the target schemas include an `INT_` prefix to names for the PKs in Spring Integration SQL scripts. Also fix the Docs for mentioned PKs
Fixes #3035 To avoid names collision for primary key indexes on the target schemas include an `INT_` prefix to names for the PKs in Spring Integration SQL scripts. Also fix the Docs for mentioned PKs
Affects Version(s): 5.1.2.RELEASE
The LOCK_PK index shares a name with an index in spring-cloud-task. If both of these are to be loaded into the same schema then one or the other has to be renamed. I created spring-cloud/spring-cloud-task#625 to be the primary place to discuss this and get it fixed. As long as one project changes it this issue can be considered resolved. Still though if this name can be collided with so easily would it be worth changing the one here too?
The text was updated successfully, but these errors were encountered: