Changes database migration script to handle changed settings strategy