Fixed and updated schemamigration.