DB::getSchemaBuilder()->getColumnListing('users');/*returns [ 'id', 'name', 'email', 'email_verified_at', 'password', 'remember_token', 'created_at', 'updated_at',];*/
Tip given by @aaronlumsden
DB::getSchemaBuilder()->getColumnListing('users');/*returns [ 'id', 'name', 'email', 'email_verified_at', 'password', 'remember_token', 'created_at', 'updated_at',];*/
Tip given by @aaronlumsden