CodeIgniter Forums
Maybe someone can save me today. Missing database tables/columns no migrations. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Maybe someone can save me today. Missing database tables/columns no migrations. (/showthread.php?tid=73778)



Maybe someone can save me today. Missing database tables/columns no migrations. - AaronLe - 06-03-2019

I never do this. I have OCD when it comes to solving problems - but I simply do not have the time to figure this out this time around, I'm really hoping someone may be able to help me - I'm willing to tip you for your time.

There's a code igniter built web app that was hacked - the database was dropped and of course no backups were maintained or kept. Migrations were not set up. I have an older copy of this database but it's missing many tables, I started reversing the code to build the tables by hand but it's just too tedious, I'm wondering if there is a quick way to generate all of the tables, columns & their datatypes from the source somehow?

[Image: sad.gif] 

Let me know


RE: Maybe someone can save me today. Missing database tables/columns no migrations. - InsiteFX - 06-04-2019

Nope, I would start looking for a new web hosting provider! Most web hosting providers backup
your database automatically.

I know my hosting provider backs up my database every night for me.