| 123456789101112131415 |
- <?php
- /**
- * Created by PhpStorm.
- * User: sxj
- * Date: 2020/1/3
- * Time: 10:41
- */
- return [
- app\common\events\PluginWasEnabled::class => function ($plugins) {
- \Artisan::call('migrate',['--path'=>'plugins/shop-esign/migrations','--force'=>true]);
- },
- /*app\common\events\PluginWasDeleted::class => function ($plugins) {
- \Artisan::call('migrate:rollback',['--path'=>'plugins/store-cashier/migrations','--force'=>true]);
- },*/
- ];
|