Package Data | |
---|---|
Maintainer Username: | ajayfroiden |
Maintainer Contact: | jayant@froiden.com (Jayant Soni) |
Package Create Date: | 2016-12-13 |
Package Last Update: | 2018-06-26 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-11 15:20:56 |
Package Statistics | |
---|---|
Total Downloads: | 18,167 |
Monthly Downloads: | 70 |
Daily Downloads: | 3 |
Total Stars: | 29 |
Total Watchers: | 7 |
Total Forks: | 9 |
Total Open Issues: | 1 |
Convert Laravel migrations to raw SQL scripts
composer require "froiden/sql-generator:dev-master"
Now add the following to the providers array in your config/app.php
\Froiden\SqlGenerator\SqlGeneratorServiceProvider::class,
php artisan vendor:publish
Then you will need to run these commands in the terminal
php artisan sql:generate
This Will Generate "database.sql" in 'database/sql' directory If you want change path directory go to 'config/sql_generator.php' change value 'defaultDirectory'