protected migrationHasAlreadyBeenPublished ( ) : boolean | ||
return | boolean |
protected function migrationHasAlreadyBeenPublished()
{
$files = glob(database_path('migrations/*_add_cart_session_id_to_users_table.php'));
return count($files) > 0;
}