1if (Schema::hasTable('users')) {
2 // The "users" table exists...
3}
4
5if (Schema::hasColumn('users', 'email')) {
6 // The "users" table exists and has an "email" column...
7}
1FOR LUMEN FOR migrate job
2BOOTSTRAP/APP.PHP
3
4
5if(\Illuminate\Support\Facades\Schema::hasTable("jobs"))
6Queue::push(new ProcessCenterJob());