I am a Junior WordPress Developer at Vision Infotech. I have good skills in WordPress, ...
If you can used Laravel 4 & 5 then there is hasTable() method. so, you can check whether
Schema::hasTable('yourTableName');
Auto Sync....
Select Categories