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

DB2 for i doesn't support renaming of columns #83

Open
infosuitemka opened this issue Nov 17, 2023 · 0 comments
Open

DB2 for i doesn't support renaming of columns #83

infosuitemka opened this issue Nov 17, 2023 · 0 comments

Comments

@infosuitemka
Copy link

Trying to get Keycloak running on DB2 for i a blocking issue that I encounter, is this:
Reason: liquibase.exception.DatabaseException: [SQL0199] Keyword RENAME was not expected. Valid tokens: ADD LOG NOT SET DATA DROP ALTER CHECK APPEND ATTACH DETACH. [Failed SQL: (-199) ALTER TABLE "IFSKCTST".EVENT_ENTITY RENAME COLUMN TIME TO EVENT_TIME]

I propose adding an additional generator called RenameColumnGeneratorDB2i which is subclass of RenameColumnGenerator overriding,

    @Override
    public boolean supports(RenameColumnStatement statement, Database database) {
        return false;
    }

I could contribute this change myself through a pull request, if you are interested? Do I need to sign up for something before code PR can be integrated?

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

1 participant