alikdex / notes
笔记模块。Yii2
0.0.4
2018-11-04 21:32 UTC
Requires
- yiisoft/yii2: ~2.0.15
This package is not auto-updated.
Last update: 2024-09-21 17:11:27 UTC
README
Yii2笔记模块
安装
'modules' => [
'notes' => [
'class' => Adx\Module\NoteModule\Module::class,
],
],
迁移
'controllerMap' => [
'migrate' => [
'class' => yii\console\controllers\MigrateController::class,
'migrationNamespaces' => [],
'migrationPath' => [
'@vendor/alikdex/notes/src/Migration',
],
],
],
或使用composer
"scripts": {
"post-update-cmd": [
"yes | php yii migrate --migrationPath=@vendor/alikdex/notes/src/Migration"
],
"post-install-cmd": [
"yes | php yii migrate --migrationPath=@vendor/alikdex/notes/src/Migration"
]
}