PHP code example of rzlco666 / yii2-region-id-migrations
1. Go to this page and download the library: Download rzlco666/yii2-region-id-migrations library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rzlco666 / yii2-region-id-migrations example snippets
'modules' => [
'region' => [
'class' => 'rzlco666\region\Module',
],
],
'controllerMap' => [
'migrate' => [
'class' => 'yii\console\controllers\MigrateController',
'migrationNamespaces' => [
'rzlco666\region\migrations',
],
],
],
php yii migrate