lynicidn
|
a71423cf2a
|
Fixes #7269: `yii\console\controllers\BaseMigrateController` now throws exception if directory specified doesn't exist and action isn't `create`
|
10 years ago |
Alexander Makarov
|
6481d13494
|
Optimized checks order in conditions
|
10 years ago |
Alexander Makarov
|
9e42285f61
|
Reverted #3305
|
10 years ago |
Alexander Makarov
|
5d7b70da5f
|
Adjusted #3305: `MigrateController::refreshSchema()` is no more called automatically
|
10 years ago |
Alexander Makarov
|
7c5938f902
|
#4791: Added more colors to `yii migrate` command
|
10 years ago |
Alexander Makarov
|
3c70d3c317
|
Fixes #3305: `yii migrate` now automatically flushes DB schema cache after successful migration
|
10 years ago |
Qiang Xue
|
530537e48f
|
Fixes #5817 [skip ci]
|
10 years ago |
Alexander Mohorev
|
899b778994
|
Correct type declarations
|
10 years ago |
Alexander Makarov
|
02622b6fe4
|
phpdoc fixes and additions
|
10 years ago |
Alexander Makarov
|
00ca1cb4b3
|
Fixes #4914
|
10 years ago |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
10 years ago |
Alexander Makarov
|
0edd8bc65a
|
Fixed missing and incorrect phpdoc
|
10 years ago |
Carsten Brandt
|
33edfcff2e
|
Use `limit(null)` instead of `limit(-1)`
in migration controller to be compatible to more backends
fixes #3947
|
10 years ago |
Klimov Paul
|
166465ec7a
|
`MigrationInterface` extracted
|
10 years ago |
Klimov Paul
|
6cc1310aed
|
`BaseMigrateController` extracted
|
10 years ago |
Mark
|
1414f9ab6b
|
limit condition changed
|
10 years ago |
Mark
|
d229cb8206
|
limit applied to migration
|
11 years ago |
Alexander Kochetov
|
f5b7788edd
|
MigrateController refactoring
|
11 years ago |
Alexander Kochetov
|
697e909c30
|
Comments updated
|
11 years ago |
Alexander Kochetov
|
5f2101893e
|
MigrateCommand enhancement. `all` option added for `down` action.
|
11 years ago |
Alexander Makarov
|
a86d2ad11e
|
Added `yii\console\Controller::EXIT_CODE_NORMAL` and `yii\console\Controller::EXIT_CODE_ERROR` constants, `yii\console\MigrateController` now returns `yii\console\Controller::EXIT_CODE_ERROR` in case of failed migration
|
11 years ago |
Alexander Makarov
|
ff3a20a785
|
Removed duplicate property
|
11 years ago |
Thiago Talma
|
c1445871f4
|
Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
|
11 years ago |
Carsten Brandt
|
3c400dbca8
|
fixed file PHPdoc
issue #3026
|
11 years ago |
Alexander Makarov
|
ab799d8ea9
|
Fixes #2911: Removed `tbl_` default for table prefix
|
11 years ago |
Carsten Brandt
|
67dd874e0c
|
renamed console controller optoins param $id to $actionId
|
11 years ago |
Carsten Brandt
|
bf3c75147d
|
reverted breaking PHPdoc codestyle changes
issue #2852
|
11 years ago |
Qiang Xue
|
8c2e39235f
|
Turn module and application into DI containers.
|
11 years ago |
SonicGD
|
b5f8a4dc22
|
Reformat code te be PSR-2 compatible
|
11 years ago |
Christian Nadolle
|
0051a1ece4
|
sort options by action in Migration controller
|
11 years ago |
Christian Nadolle
|
706ab7f968
|
combine globalOptions() with local options into options($id)
adjust existing Console Controllers and docs
|
11 years ago |
Carsten Brandt
|
740a769477
|
improved HelpController with messages for each command
|
11 years ago |
resurtm
|
65dd8c9e7e
|
Add ability to downgrade migrations by the absolute apply time
|
11 years ago |
Alexander Makarov
|
5cab2a8745
|
Fixes #2156: `yii migrate` now automatically creates `migrations` directory if it does not exist
|
11 years ago |
Carsten Brandt
|
b8558a860a
|
fixed migrate command output
|
11 years ago |
Alexander Kochetov
|
3de7bce631
|
Migration command show correct directory path while it not exist
|
11 years ago |
Qiang Xue
|
0c38655217
|
psr-4 move
|
11 years ago |
Alexander Kochetov
|
995a922b01
|
\yii\console\controllers\MigrateController updated
|
11 years ago |
Qiang Xue
|
05272b7120
|
doc fix.
|
11 years ago |
Qiang Xue
|
a6cb556e21
|
Fixes #1204: the length of primary key for migration table is too long.
|
11 years ago |
Alexander Makarov
|
1f6a823073
|
Short array syntax
|
11 years ago |
Aaron Francis
|
c5a34c534b
|
Fix Issue #934
Fixes issue #934. Command is created for the selected database, not the default database.
|
11 years ago |
Carsten Brandt
|
b96fd24ef5
|
Finished documentation of Console Helper and Controller
fixes #33
|
11 years ago |
gsd
|
1a46b8704c
|
fix MigrateController
|
11 years ago |
Qiang Xue
|
725d810085
|
Refactored console controller color option.
|
11 years ago |
resurtm
|
7a7d2a9c06
|
CS fixes.
|
11 years ago |
Qiang Xue
|
587529bf94
|
Always refetch the migration table definition.
|
12 years ago |
Alexander Makarov
|
774a7b52cb
|
yiic migrate/create should not require db component
|
12 years ago |
Alexander Makarov
|
d62f1b588f
|
yii migrate/create should not require db component
|
12 years ago |