使用laravel migration创建一个mysql事件?(Create a mysql event with laravel migration?)
有没有办法使用laravel迁移创建一个mysql事件? 如果有,怎么样?
Is there any way to create a mysql event using laravel migration? If yes how?
最满意答案
您可以使用DB::statement() 。 更多细节在这里 。
DB::statement('CREATE EVENT my_event ...')You can use DB::statement(). More details here.
DB::statement('CREATE EVENT my_event ...')更多推荐
发布评论