gillidandaweb / dbcommands
A collection of database Artisan commands for the Laravel Framework.
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/gillidandaweb/dbcommands
Requires
- php: >=7.1
- doctrine/dbal: ^2.5
This package is not auto-updated.
Last update: 2020-12-25 23:40:01 UTC
README
A collection of database Artisan commands for the Laravel Framework.
Installation
composer require gillidandaweb/dbcommands
Install the service provider:
// config/app.php 'providers' => [ ... GillidandaWeb\DbCommands\DbCommandsServiceProvider::class, ... ];
Usage
Foreign Keys
To get a list of all database columns with an underscore (except for _at columns) and display the foreign key:
artisan db:checkforeignkeys
Primary Keys
To get a list of all tables and their primary key:
artisan db:checkprimarykeys
About Gillidanda
Gillidanda is a web development company in Glasgow, Scotland.
Postcardware
You are free to use this package as it's MIT-licensed, but if you find this package useful please send us a postcard from your hometown!
Our address is: Gillidanda, 67 Hillfoot Drive, Glasgow, G61 3QG, Scotland.