Update database statistics by calling "ANALYZE" after database structure upgrade.
Update database statistics by calling "ANALYZE" after database structure upgrade.

It is necessary to allow query planner to do better job (prefer index vs sequence scan).
If new column is added to table, the previously gathered statistics would not include it and query planner may choose non-optimal query.

+ print results of "alembic upgrade head" to console

miarec/ansible-role-miarecweb