instedd / verboice

Open source toolkit for voice services; with special focus to the needs of medium- and low-income countries, scalable services, and interacting with vulnerable populations
http://verboice.instedd.org/
GNU General Public License v3.0
44 stars 18 forks source link

Redundant `canceled` and `cancelled` CallLog states #872

Closed matiasgarciaisaia closed 4 years ago

matiasgarciaisaia commented 4 years ago

CallLogs can have any of both canceled and cancelled states. We should only keep one (cancelled).

Besides fixing this in the code, let's create a migration to update the incorrect ones, and also drop the old suspended state that is still present on the production database (and could be on any other Verboice deployment out there).