gillidandaweb/dbcommands

This package is abandoned and no longer maintained. No replacement package was suggested.

A collection of database Artisan commands for the Laravel Framework.

0.1.3 2017-03-02 19:31 UTC

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.