litovchenko/laravel-migration-assistant is a Laravel package.
It currently has 0 GitHub stars and 14 downloads on Packagist (latest version v1.0.0).
Install it with composer require litovchenko/laravel-migration-assistant.
Discover more Laravel packages by litovchenko
or browse all Laravel packages to compare alternatives.
Last updated
$ composer require iv-litovchenko/laravel-migration-assistant
$ composer require iv-litovchenko/laravel-migration-assistant --ignore-platform-reqs
$ php artisan massist

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');
}
});