Community inputs required to fix: Unable to send SMS in frappe because SMS Log doctype is missing

I wish to solve the following bug:

What would be the correct approach?
Should we just check if the doctype exists then and only then maintain a log or should we migrate the doctype from ERPNext to Frappe?