Пример #1
0
 /**
  * Get the data type for the given column name.
  *
  * @param string $table
  * @param string $column
  * @return string 
  * @static 
  */
 public static function getColumnType($table, $column)
 {
     return \Illuminate\Database\Schema\Builder::getColumnType($table, $column);
 }
Пример #2
0
 /**
  * Get the data type for the given column name.
  *
  * @param  string $table
  * @param  string $column
  *
  * @return string
  */
 public function getColumnType($table, $column)
 {
     return static::$schema->getColumnType($table, $column);
 }