Skip to content

Conversation

Wweiei
Copy link
Contributor

@Wweiei Wweiei commented Sep 19, 2025

feat:refactor reserved keyword fields for discovery_upstream table. #6137
This PR refactor discovery_upstream reserved keyword fields by renaming two database columns in the "discovery_upstream" table to avoid reserved keyword conflicts. The changes rename "url" to "upstream_url" and "status" to "upstream_status". And fixed an error in tag-sqlmap.xml.

  • Renamed database column "url" to "upstream_url" across all database schemas and related code
  • Renamed database column "status" to "upstream_status" across all database schemas and related code
  • Updated all corresponding Java entity classes, mappers, and service implementations to use the new field names
  • fix an error in tag-sqlmap.xml, which would cause an error during unit testing.

Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

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.

1 participant