PHP code example of othyn / laravel-migrate-to-sql
1. Go to this page and download the library: Download othyn/laravel-migrate-to-sql 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/ */
othyn / laravel-migrate-to-sql example snippets
sh
$ php artisan migrate:to-sql
sh
$ php artisan migrate:to-sql --tty
-- 2014_10_12_000000_create_users_table:
ALTER TABLE
`users`
ADD
UNIQUE `users_email_unique`(`email`);
-- etc...