As you can read in a previous thread on this forum, the currencies list can not be changed from the NIF file anymore. Soon we'll try to add all missing currencies that appear on Wikipedia's currencies list.
Do mind that the current list may have problematic entries that are perhaps duplicates and perhaps wrong currencies such as when we have "cent" and we don't know which currency it belongs to. All these problems won't be fixed in a day but hopefully, with time, we'll have all the proper information added to Colnect.
To add a currency I need a statement like
Code: Select all
INSERT INTO `colnect`.`currency` (`id` ,`name` ,`symbol` ,`iso`)VALUES (NULL , 'NAME', 'SYMBOL', 'ISO');
Where you should replace NAME, SYMBOL and ISO such as in these examples:
Code: Select all
INSERT INTO `colnect`.`currency` (`id` ,`name` ,`symbol` ,`iso`)VALUES (NULL , 'US Dollar', '$', 'USD'); INSERT INTO `colnect`.`currency` (`id` ,`name` ,`symbol` ,`iso`)VALUES (NULL , 'Afghan Pul', '؋', 'AFN');
To update a currency I need a statment like:
If you'd like to change an existing currency it should be something like:
Code: Select all
UPDATE `colnect`.`currency` SET `name` = 'NAME',`symbol` = 'SYMBOL',`iso` = 'ISO' WHERE `currency`.`id`=CURRENCY_ID;
The CURRENCY_ID is the number appearing on the list of Colnect currencies (you can see this list on the IMPORTS page). The CURRENCY_ID is also the number which appear in a URL which has a currency filter such as:
https://colnect.com/en/coins/series/cou ... tes_dollar
Examples:
Code: Select all
UPDATE `colnect`.`currency` SET `name` = 'Units',`symbol` = 'units',`iso` = '' WHERE `currency`.`id`=1; UPDATE `colnect`.`currency` SET `name` = 'Afghan Afghani' WHERE `currency`.`id`=69;
Yes, I could have made a nicer interface for adding or updating currencies BUT soon we expect to add all missing currencies so such tasks will become very rare. You're welcome to respond here if you have any questions.


