yii migrate --migrationPath=@vendor/maks757/yii2-data-articles/migrations
yii migrate --migrationPath=@vendor/maks757/embeddable-gallery/migrations
'modules' => [
'articles' => [
'class' => \maks757\articlesdata\ArticleModule::className(),
],
'egallery' => [
'class' => \maks757\egallery\GalleryModule::className()
],
//...
],
'components' => [
'article' => [
'class' => \maks757\imagable\Imagable::className(),
'imageClass' => CreateImageMetaMulti::className(),
'nameClass' => GenerateName::className(),
'imagesPath' => '@frontend/web/images',
'categories' => [
'category' => [
'article' => [
'size' => [
'origin' => [
'width' => 0,
'height' => 0,
]
]
],
'images' => [
'size' => [
'origin' => [
'width' => 0,
'height' => 0,
]
]
]
]
]
],
'egallery' => [
'class' => \maks757\imagable\Imagable::className(),
'imageClass' => CreateImageMetaMulti::className(),
'nameClass' => GenerateName::className(),
'imagesPath' => '@frontend/web/images',
'categories' => [
'category' => [
'egallery' => [
'size' => [
'origin' => [
'width' => 0,
'height' => 0,
]
]
]
]
]
],
//...
],