Closed codefatherru closed 4 years ago
Based on this discussion, SQLite seems to have case-insensitive column names. Shall we convert/enforce every column name to be lowercase? We can do that in here. However, this will introduce backward incompatibility. I think a better approach is just to raise a more descriptive error before it goes inside the SQL Alchemy.
This should now throw a hard error now, making this ambiguity easier to debug. We can't really gloss over it in DBMS that make a distinction.
I suppose this is a bug (I couldn't google it) if you have got database table with column 'Tags' (capitalize first letter) try
you will get
it comes as if table.insert is caseSensitive when checks for columns, but caseINsensitive when tries to create them
P.S. I hope this issue will save several hours for someone