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');
}
laravel创建一个存储过程
Laravel框架
366
0
0
2022-04-13
登录后可点赞和收藏
标签
Laravel数据库
登录后可点赞和收藏