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

Table with column name color is handled incorrectly #146

Open
navjeetc opened this issue Jan 14, 2015 · 2 comments
Open

Table with column name color is handled incorrectly #146

navjeetc opened this issue Jan 14, 2015 · 2 comments
Labels

Comments

@navjeetc
Copy link

I had a table with a column name color and it clashes with color property in configuration and is not handled properly by Upmin. I had to rename the column to something other than color and it worked. Is there a better solution?

@joncalhoun
Copy link
Member

Can you post an example for me to look at? It helps a lot, even if it is a pretty simple one.

I'm not sure if there is a better way to fix this, or if it is a bug in the code. My guess is this is an issue with the code that could be fixed.

@navjeetc
Copy link
Author

I have a table called hair_colors with a column named color. When listing the data from that table for color column Upmin displayed light_blue for all rows rather than actual value stored in Db. When I changed the column name to hcolor, it displayed the correct data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants