Skip to content

Rename project attributes column name to avoid reserved keyword#11237

Merged
mshaposhnik merged 2 commits intomasterfrom
renameAttributesField
Sep 18, 2018
Merged

Rename project attributes column name to avoid reserved keyword#11237
mshaposhnik merged 2 commits intomasterfrom
renameAttributesField

Conversation

@mshaposhnik
Copy link
Copy Markdown
Contributor

@mshaposhnik mshaposhnik commented Sep 17, 2018

What does this PR do?

Rename project attributes column name to avoid reserved keyword usage.

What issues does this PR fix or reference?

#11192

Release Notes

N/A

-- Red Hat, Inc. - initial API and implementation
--

ALTER TABLE projectattribute_values RENAME COLUMN values TO attribute_values;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure it's working H2, PostgreSQL? MySQL?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes our integration tests on H2 & Postgres are passed. MySQL only syntax check.

@skabashnyuk skabashnyuk mentioned this pull request Sep 17, 2018
6 tasks
@mshaposhnik mshaposhnik merged commit 2169232 into master Sep 18, 2018
@benoitf benoitf added this to the 6.12.0 milestone Sep 18, 2018
@benoitf benoitf added the kind/task Internal things, technical debt, and to-do tasks to be performed. label Sep 18, 2018
@mshaposhnik mshaposhnik deleted the renameAttributesField branch November 29, 2018 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/task Internal things, technical debt, and to-do tasks to be performed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants