कैसे की जाँच करने के लिए स्तंभ के साथ तालिका में सुवक्ता laravel
कोड उदाहरण
0
0
laravel अगर जाँच तालिका में स्तंभ
if (Schema::hasTable('users')) {
// The "users" table exists...
}
if (Schema::hasColumn('users', 'email')) {
// The "users" table exists and has an "email" column...
}