예제 #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);
 }