0
Hi in php ,use a migration directory then write sql scripts in a .sql file and read file and execute it by " PDO" connection in php file . this the is best way! https://stackoverflow.com/questions/26506820/run-sql-script-via-php but in laravel framework use "Schema" to create table . ( a controller for database create)
15th Feb 2018, 5:28 PM
Amirhosein Morteza
Amirhosein Morteza - avatar