[Docs] set PostgreSQL statement_timeout
[Migration] fix episode state migration