litovchenko/laravel-migration-assistant

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 3

Type:project

pkg:composer/litovchenko/laravel-migration-assistant

v1.0.0 2022-09-21 08:22 UTC

This package is auto-updated.

Last update: 2025-10-04 21:19:53 UTC


README

$ composer require iv-litovchenko/laravel-migration-assistant
$ composer require iv-litovchenko/laravel-migration-assistant --ignore-platform-reqs
$ php artisan massist

Watch the video Video presentation on YouTube

Preview

Route::get('/liapp', function () { $liApp = new App(); return $liApp->main(); });

Schema::table('users', static function (Blueprint $table) { $schemaManager = Schema::getConnection()->getDoctrineSchemaManager(); $indexesFound = $schemaManager->listTableIndexes('users');

if (! array_key_exists('users_email_index', $indexesFound)) {
    $table->index('email', 'users_email_index');
}

});