Skip to content

Commit 3b8d7f2

Browse files
committed
add migrations generator
1 parent eb8f7b6 commit 3b8d7f2

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ Default, the template includes three tiers: `frontend`, `backend`, and `console`
2222
all email are saved to DB (`common/models/EmailForm` Model), optionally send message to Viber messenger via bot
2323
(install requirements [Bogdaan/viber-bot-php](https://github.com/Bogdaan/viber-bot-php) and config, uncomment code in Model)
2424
* **postcss** config (`frontend/web/src/pcss//*.css`)
25-
* Gii generator: added **yii2-queue**, may be later - [schmunk42/yii2-giiant](https://github.com/schmunk42/yii2-giiant) - really steroid, but in development with bugs
25+
* Gii generator:
26+
1. added **yii2-queue** Jobs generator
27+
2. yii2 migration generator (from existing table) [Insolita/yii2-migrik](https://github.com/Insolita/yii2-migrik)
28+
3. may be later - [schmunk42/yii2-giiant](https://github.com/schmunk42/yii2-giiant) - really steroid, but in development with bugs
2629

2730

2831
## Available modules
@@ -69,9 +72,10 @@ php yii message/extract common/messages/config.php
6972

7073
**POSTCSS**
7174

75+
> **NOTE:** Dont forget install nodejs :) and run command `npm install` if you want use post locally
76+
7277
Add WebStorm file-watcher, postcss.config.js is ready for use
73-
> **NOTE:** Dont forget install nodejs :) and run command `npm install`
74-
1. scope file[mites-site]:frontend/web/src/pcss//*.css
78+
1. scope file[my-site]:frontend/web/src/pcss//*.css
7579
2. program C:\Users\user4957\AppData\Roaming\npm\postcss.cmd
7680
3. arguments $ContentRoot$\frontend\web\css\style.css --config $ContentRoot$\post.config.js
7781

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"yiisoft/yii2-gii": "~2.0.0",
2828
"yiisoft/yii2-faker": "~2.0.0",
2929
"codeception/base": "^2.2.3",
30-
"codeception/verify": "~0.3.1"
30+
"codeception/verify": "~0.3.1",
31+
"insolita/yii2-migration-generator": "~2.3"
3132
},
3233
"config": {
3334
"process-timeout": 1800,

console/config/params.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
<?php
22
return [
3-
'adminEmail' => 'admin@example.com',
43
];

0 commit comments

Comments
 (0)