Hi all,
Would like to have a serial primary key on the currencyapi table. That way my db-editor (Webmin) can edit rows or delete them in case of bad data from the exchange rates provider. Now I can only truncate the whole table and hope that the exchange rates will all be good when I get new ones. Patch coming.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | add_primary_key-1225222-2.patch | 2.59 KB | splash112 |
| #1 | add_primary_key-1225222.patch | 1.8 KB | splash112 |
Comments
Comment #1
splash112 commentedAnd the patch
ps. had to create another column first and change that to serial, so the update function looks a little odd. Sadly, no real other way around it afaik.
Comment #2
splash112 commentedSorry, forgot to edit the module
Comment #3
amateescu commentedSorry for replying so late.. but I don't think there's a real need for this change in the current stable release.