I have an app that uses SQLAlchemy, and it worked fine when I used SQLite. However, when I moved to PostgreSQL, I found myself unable to even do the merge. Here\'s the model tha
Column item_metadata defined as a string, so it must be a string. With SQLite it worked because SQLite uses dynamic typing. It does not enforce data type constraints. Data of any type can (usually) be inserted into any column.