Add database migration script for 2.2.0