![]() |
drop_column() support for sqlite3_forge driver - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: drop_column() support for sqlite3_forge driver (/showthread.php?tid=75330) |
drop_column() support for sqlite3_forge driver - nplaviola - 01-27-2020 Any chance of getting the drop_column() option added to the sqlite3_forge driver? Can someone help me piece it together if not? is it as simple as uncommenting the commented section below? (it's clearly not, haha). Thank you! Existing method: PHP Code: /** RE: drop_column() support for sqlite3_forge driver - nplaviola - 01-28-2020 (01-27-2020, 02:40 PM)nplaviola Wrote: Any chance of getting the drop_column() option added to the sqlite3_forge driver? Can someone help me piece it together if not? is it as simple as uncommenting the commented section below? (it's clearly not, haha). Thank you! I wrote a workaround in my model and thought I'd share the meat of it in case anyone else runs into this. It's not very sophisticated but it gets the job done: PHP Code: $this->db->trans_start(); The query strings are dynamic in my code but I figure that's easy enough to do yourself. |