예제 #1
0
 /**
  * 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);
 }
예제 #2
0
 /**
  * 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);
 }