Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

add sql file to seeder

$path = public_path('sql/File.sql'); 
$sql = file_get_contents($path); 
DB::unprepared($sql); 
 
PREVIOUS NEXT
Tagged: #add #sql #file #seeder
ADD COMMENT
Topic
Name
9+4 =