1 Star 0 Fork 11

遵义职业技术学院-梅光涛 / TinyShop

forked from 简言 / TinyShop 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Install.php 612 Bytes
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
简言 提交于 2020-03-12 13:10 . 初始化
<?php
namespace addons\TinyShop;
use Yii;
use yii\db\Migration;
use common\helpers\MigrateHelper;
use common\interfaces\AddonWidget;
/**
* 安装
*
* Class Install
* @package addons\TinyShop
*/
class Install extends Migration implements AddonWidget
{
/**
* @param $addon
* @return mixed|void
* @throws \yii\base\InvalidConfigException
* @throws \yii\web\NotFoundHttpException
* @throws \yii\web\UnprocessableEntityHttpException
*/
public function run($addon)
{
MigrateHelper::upByPath([
'@addons/TinyShop/console/migrations/'
]);
}
}
1
https://gitee.com/aimukj/TinyShop.git
git@gitee.com:aimukj/TinyShop.git
aimukj
TinyShop
TinyShop
master

搜索帮助