fix migration.
fix companies migration.
fix companies migration again.
fix for migration scripts