Database migration tasks.