fatindeed/laravel-db-dump-migration

0.1.0 2019-07-10 04:24 UTC

This package is auto-updated.

Last update: 2024-04-26 12:01:35 UTC


README

PHP Version Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Guide

  1. Install with composer

    composer require --dev fatindeed/laravel-db-dump-migration
  2. Add command to your app/Console/Kernel.php

    protected $commands = [
        \Fatindeed\LaravelDbDumpMigration\DbDumpCommand::class
    ];
  3. Run command

    php artisan db:dump-migration my_table_name
    php artisan db:dump-migration my_table_name --database=mysql