Fixed errors. Improved validation. Deleted old migrations.