2017 © Pedro Peláez
 

library laravel-migrate-check

A command to check for pending migrations. Exits with non-zero code if there are any

image

erjanmx/laravel-migrate-check

A command to check for pending migrations. Exits with non-zero code if there are any

  • Sunday, July 29, 2018
  • by erjanmx
  • Repository
  • 3 Watchers
  • 24 Stars
  • 947 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 444 % Grown

The README.md

An artisan command to check for pending migrations. Exits with non-zero code if there any.

Build Status, (*1)

Laravel has a migrate:status command to check status of migrations. But this command mostly for humans. There are situations where one needs to know whether to run migrations when using autodeployment, maybe with switching to maintenance mode., (*2)

This package contains a migrate:check command that exits with non-zero code if there are any migrations to run., (*3)

Requirements

This command supports all database drivers that Laravel does., (*4)

Installation

You can install the package via composer:, (*5)

composer require erjanmx/laravel-migrate-check

Thanks to Laravel 5.5 package auto-discovery the migrate:check command will be registered, (*6)

Usage

php artisan migrate:сheck

You can specify database and path to migration file via options just like they are used in php artisan migrate command, (*7)

ezgif com-gif-maker, (*8)

Changelog

Please see CHANGELOG for more information what has changed recently., (*9)

Testing

In order for the test to be run you should set up an empty mysql database laravel_migrate_check . The username should be root, the required password should be empty., (*10)

bash $ composer test, (*11)

Contributing

Please see CONTRIBUTING for details., (*12)

License

The MIT License (MIT). Please see License File for more information., (*13)

The Versions

29/07 2018

dev-master

9999999-dev https://github.com/erjanmx/laravel-migrate-check

A command to check for pending migrations. Exits with non-zero code if there are any

  Sources   Download

MIT

The Requires

 

The Development Requires

by Erjan

database eloquent check migrate laravel-migrate-check

12/07 2018

v1.2.0

1.2.0.0 https://github.com/erjanmx/laravel-migrate-check

A command to check for pending migrations. Exits with non-zero code if there are any

  Sources   Download

MIT

The Requires

 

The Development Requires

by Erjan

database eloquent check migrate laravel-migrate-check

20/12 2017

v1.1.0

1.1.0.0 https://github.com/erjanmx/laravel-migrate-check

A command to check for pending migrations. Exits with non-zero code if there are any

  Sources   Download

MIT

The Requires

 

The Development Requires

by Erjan

database eloquent check migrate laravel-migrate-check

20/12 2017

v1.0.0

1.0.0.0 https://github.com/erjanmx/laravel-migrate-check

A command to check for pending migrations. Exits with non-zero code if there are any

  Sources   Download

MIT

The Requires

 

The Development Requires

by Erjan

database eloquent check migrate laravel-migrate-check