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

fixes for constraint name handling when creating keys and foreign keys #257

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

karlcz
Copy link
Contributor

@karlcz karlcz commented Oct 23, 2024

  • refactor common code for generating default names
  • always return proper schema string in responses, ignoring input placeholders
  • fix longstanding bugs in pseudo-constraint creation handlers

the pseudo constraint fixes are only relevant for rare catalogs that have locally provisioned SQL views, and then the rest API is used to add pseudo key or foreign key constraints related to these views.

- refactor common code for generating default names
- always return proper schema string in responses, ignoring input placeholders
- fix longstanding bugs in pseudo-constraint creation handlers

the pseudo constraint fixes are only relevant for rare catalogs that have
locally provisioned SQL views, and then the rest API is used to
add pseudo key or foreign key constraints related to these views.
@karlcz karlcz merged commit 4adb20c into master Oct 23, 2024
1 check passed
@karlcz karlcz deleted the constraint_name_fixes branch October 23, 2024 21:20
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