PHP code example of sayeed / custom-migrate

1. Go to this page and download the library: Download sayeed/custom-migrate library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

sayeed / custom-migrate example snippets


'providers' => [
    // ...
    Sayeed\CustomMigrate\CustomMigrateServiceProvider::class,
];

// Register Service Providers
    // ...
    $app->register(Sayeed\CustomMigrate\CustomMigrateServiceProvider::class);
];
 artisan migrate:custom
 artisan migrate:custom -f 2018_10_14_054732_create_tests_table
 artisan migrate:custom --file 2018_10_14_054732_create_tests_table
 artisan migrate:custom -d migrations-subfolder
 artisan migrate:custom --directory migrations-subfolder
 artisan migrate:custom -r
 artisan migrate:custom --refresh