PHP code example of andrey-helldar / migrate-db
1. Go to this page and download the library: Download andrey-helldar/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/ */
andrey-helldar / 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