/** * 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); }
/** * 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); }