Add upgrade SQL for adding `mandate_active`

Amends PR #83