PHP Classes

File: config/laravel-migration-paths.php

Recommend this page to a friend!
  Classes of Faisal Islam   Multiple Laravel Migration Path Directories   config/laravel-migration-paths.php   Download  
File: config/laravel-migration-paths.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Multiple Laravel Migration Path Directories
Add custom directories for Laravel migration files
Author: By
Last change:
Date: 4 years ago
Size: 525 bytes
 

Contents

Class file image Download
<?php

return [

   
/*
    |--------------------------------------------------------------------------
    | Migration Paths
    |--------------------------------------------------------------------------
    |
    | 01. By default all sub directories will be registered inside the migrations folders
    | - migrations
    | -- dir1
    | -- dir2
    | ---- dir2.1
    |
    | 02. You can register additional directories outside the migrations folder
    */

   
'paths' => [
       
database_path('migrations'),
    ],
];