rareloop/hatchet-migrations

There is no license information available for the latest version (dev-master) of this package.

dev-master 2020-04-24 14:17 UTC

This package is auto-updated.

Last update: 2024-10-24 23:56:24 UTC


README

Provides a wrapper around the Phinx Database Migrations package that integrates with Hatchet & Lumberjack.

Installation

composer require rareloop/hatchet-migrations

Once installed, register the Service Provider in config/app.php:

'providers' => [
    ...

    Rareloop\Hatchet\Migrations\MigrationsServiceProvider::class,

    ...
],

Copy the example config/migrations.php file to you theme directory (optional).

Make sure you create the needed folders for your migrations and seeds. If you don't change the default config then these will be:

  • {theme}/database/migrations
  • {theme}/database/seeds

Usage

This package makes the following commands are available to you:

For usage information on each command either consult the associated Phinx documentation or use the hatchet CLI:

php hatchet help {command}