Artisan.page

db:table

Display information about the given database table

Terminal
php artisan db:table [--database [DATABASE]] [--json] [--] [<table>]

Options

databaseOptional

The database connection

jsonOptional

Output the table information as JSON

Arguments

tableOptional

The name of the table