nayjest/db-dump

There is no license information available for the latest version (v1.3.6) of this package.

Database Dump Tool for Laravel

v1.3.6 2014-11-15 10:58 UTC

This package is auto-updated.

Last update: 2024-10-17 23:52:55 UTC


README

Installation

Installation with composer

  • Step 1: Add git url to composer.json file in your project:
"repositories": [
    {
        "url": "git@github.com:Nayjest/db-dump.git",
        "type": "git"
    }
],
  • Step 2: Add dependency to "require" section
"require": {
    "nayjest/db-dump": "~1"
},
  • Step 3: run "composer update" command

Usage

Create dump:

php artisan db:dump make

Create dump with specific tags:

php artisan db:dump make --tags my_dump,some_other_tag

Create dump using scenario:

php artisan db:dump make --scenario scenario_name

Apply dump (interactive)

php artisan db:dump apply