function countries_update_7202 in Countries 8
Same name and namespace in other branches
- 7.2 countries.install \countries_update_7202()
This drops the unique indexes on the official name, ISO3 and NumCode.
These fields are not required, so this will lead to PDO exceptions if two or more countries have these fields left blank.
File
- ./
countries.install, line 247 - Install file for Countries module.
Code
function countries_update_7202() {
db_drop_unique_key('countries_country', 'iso3');
db_drop_unique_key('countries_country', 'numcode');
db_drop_unique_key('countries_country', 'official_name');
}