PHP code example of dragon-code / migrate-db
1. Go to this page and download the library: Download dragon-code/migrate-db 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/ */
dragon-code / migrate-db example snippets
bash
php artisan db:migrate --schema-from=foo --schema-to=bar
bash
php artisan db:migrate --schema-from=foo --schema-to=bar --tables=table1 --tables=table2 --tables=table3
bash
php artisan db:migrate --schema-from=foo --schema-to=bar --exclude=table1 --exclude=table2 --exclude=table3