Migrates country.php to active_Record