Laravel: Existence check for Table and Column
OnYou can easily check for the existence of a table or column using the hasTable and hasColumn function of laravel Checking For Existence Of Table if (Schema::hasTable(‘users’)){//} Checking For Existence Of Column if (Schema::hasColumn(‘users’, ’email’)){//}