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

Renaming a stored property with only a case change results in "column already exists" error #1329

Open
danchanka opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@danchanka
Copy link
Collaborator

When attempting to rename a stored property by changing only the case (e.g., renaming serverTimezone to serverTimeZone), an error occurs stating that a column with the specified name already exists. This issue arises because column names in PostgreSQL are case-insensitive by default and are stored in lowercase. Therefore, changing only the case of a column name is interpreted as an attempt to rename the column to an already existing name, causing a conflict.

@danchanka danchanka added the bug Something isn't working label Nov 8, 2024
@danchanka danchanka self-assigned this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: New
Development

No branches or pull requests

1 participant