public function up()
{
DB::unprepared('CREATE PROCEDURE my_procedure(IN param INT(10)) BEGIN /* here your SP code */ END');
}
public function down()
{
DB::unprepared('DROP PROCEDURE IF EXISTS my_procedure');
}
本作品採用《CC 協議》,轉載必須註明作者和本文連結