/** * Determine if the given table has given columns. * * @param string $table * @param array $columns * @return bool * @static */ public static function hasColumns($table, $columns) { return \Illuminate\Database\Schema\Builder::hasColumns($table, $columns); }
/** * Determine if the given table has given columns. * * @param string $table * @param array $columns * * @return bool */ public function hasColumns($table, array $columns) { return static::$schema->hasColumns($table, $columns); }