Is there a way to get the datatype of a database table field? Almost like a inverse of migration.
For example, if the migration of a users table column looks like >
Use this expression with a dial-down function to show you array details of all your table's fields:
dd(DB::select(DB::raw('SHOW FIELDS FROM tablename')));