I am using Postgresql 9.1 and SQLAlchemy 0.9.
The problem is, \'default=10\' doesn\'t work.
My Code:
conn_str = \'p
instead of using default, use server_default... fixed the problem for me https://docs.sqlalchemy.org/en/latest/core/defaults.html?highlight=schema%20column#sqlalchemy.schema.ColumnDefault