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
Requires
- rareloop/hatchet: ^1.0.1
- robmorgan/phinx: ^0.11.0
Requires (Dev)
- brain/monkey: ^2.0.2
- codedungeon/phpunit-result-printer: ^0.4.4
- mockery/mockery: ^1.0.0
- phpunit/phpunit: ^6.0
- satooshi/php-coveralls: ^1.0
- squizlabs/php_codesniffer: ^3.2
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}