Database migration script.