Skip to content

HCK-14858: Custom scripts in ALTER statements#231

Merged
VitaliiBedletskyi merged 7 commits intodevelopfrom
HCK-14858
Feb 25, 2026
Merged

HCK-14858: Custom scripts in ALTER statements#231
VitaliiBedletskyi merged 7 commits intodevelopfrom
HCK-14858

Conversation

@AlikRakhmonov
Copy link
Contributor

@AlikRakhmonov AlikRakhmonov commented Feb 23, 2026

Sub-taskHCK-14858 [Oracle]: Update ALTER script generation to return array of fragments

  1. AlterDtoScript contains a single statement now (scripts => script).
  2. Update all locations where getInstance is used so it accepts a single string of a single statement.
  3. Remove redundant cycles (.map()).
  4. Add the keepDtos flag to return object statements or a string for backward compatibility.
  5. Extend AlterDtoScript with the scriptType and entityId properties that will be used by custom script hooks.
    Currently, entityId is added only to the newly created items.

@AlikRakhmonov AlikRakhmonov self-assigned this Feb 23, 2026
@sonarqubecloud
Copy link

@AlikRakhmonov AlikRakhmonov marked this pull request as ready for review February 24, 2026 10:50
@AlikRakhmonov AlikRakhmonov marked this pull request as draft February 24, 2026 12:29
@AlikRakhmonov AlikRakhmonov marked this pull request as ready for review February 24, 2026 14:55
@VitaliiBedletskyi VitaliiBedletskyi merged commit 8d338f8 into develop Feb 25, 2026
7 checks passed
@VitaliiBedletskyi VitaliiBedletskyi deleted the HCK-14858 branch February 25, 2026 08:30
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.

2 participants