|
97a4d711ec
|
Merge branch 'master' into sync-master-2052.
|
2025-04-26 19:03:07 -04:00 |
|
|
26756a7e0f
|
Add support for dropping views in MSSQL server when running migrate/fresh
|
2024-09-19 22:09:51 +02:00 |
|
|
52e4a3e645
|
release version 2.0.50
|
2024-05-30 20:23:31 +03:00 |
|
|
20d6c65db2
|
Merge branch 'master' into sync-to-master.
|
2024-03-20 06:11:31 -03:00 |
|
|
e2a167028b
|
Upgrade to PSR12 coding standard (#20121)
|
2024-03-19 17:21:27 +03:00 |
|
|
c9c100acd7
|
Remove deprecated method className() for branch 2.2 . (#19894)
|
2023-07-16 21:45:39 +08:00 |
|
|
161526cd41
|
HTTPS everywhere (#19503)
|
2022-08-03 12:32:18 +03:00 |
|
|
02fe7f42c8
|
Fix #18660: Check name if backslash appears
|
2021-12-27 17:26:28 +03:00 |
|
|
e3028c524d
|
Fix #18899: Replace usages of strpos with strncmp and remove redundant usage of array_merge and array_values
|
2021-09-28 11:06:46 +03:00 |
|
|
ac373c06fe
|
Fix #18845: Fix duplicating id in MigrateController::addDefaultPrimaryKey()
|
2021-09-03 11:35:19 +03:00 |
|
|
7966fe47e6
|
Scrutinizer fixes (#18685)
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/filters/AccessRule.php?selectedLabels%5B0%5D=2&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/helpers/BaseFileHelper.php?selectedLabels%5B0%5D=2&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Application.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Module.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/web/MultipartFormDataParser.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/web/Session.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Controller.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/MigrateController.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* Added vardocs, and small refactor
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/conditions/InConditionBuilder.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/Connection.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/mssql/QueryBuilder.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/log/Logger.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/BaseMigrateController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* Adding space between type
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/CacheController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/FixtureController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/MigrateController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* Update framework/console/controllers/CacheController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/CacheController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
|
2021-05-31 21:07:36 +03:00 |
|
|
3f3003d823
|
Fix #18303: Fix creating migration issue for column methods used after defaultValues
|
2020-10-05 01:02:21 +03:00 |
|
|
e50a07c30c
|
Fix #17437: Fixed generating namespaced migrations
|
2019-07-23 17:28:43 +03:00 |
|
|
d23537fa26
|
Fix type annotations
|
2019-07-02 21:56:01 +03:00 |
|
|
757bc42645
|
Fixes #17325: Fixed "Cannot drop view" for MySQL while migrate/fresh
|
2019-06-30 19:53:50 +03:00 |
|
|
0fcd495583
|
Fixes #16394: Fixed issues in migrate/create when specifying default values with colons and adding multiple columns
|
2019-06-26 12:44:24 +07:00 |
|
|
1a34f61e56
|
Fixes #16941: Set yii\console\controllers\MigrateController::useTablePrefix to true as default value
|
2019-01-03 12:16:42 -05:00 |
|
|
e55b3e0ba1
|
Fixes #16278: Fixed drop existing views when console migrate/fresh command runs
|
2018-06-30 02:19:40 +03:00 |
|
|
1a74b3d4f8
|
[minor] SCA with Php Inspections (EA Ultimate) (#15871)
* Php Inspections (EA Ultimate): use type casting where applicable
* Php Inspections (EA Ultimate): use constants where applicable
* Php Inspections (EA Ultimate): CS
* Php Inspections (EA Ultimate): address some of one-time used variables
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): revert a constant usage
* Php Inspections (EA Ultimate): revert sequential assignments
* Php Inspections (EA Ultimate): build is green again
* Php Inspections (EA Ultimate): revert array_merge tweaks
* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak
* Update description [skip ci]
* Php Inspections (EA Ultimate): CS
|
2018-03-12 01:37:19 +03:00 |
|
|
2c68336754
|
Fix #15724: MigrateController::optionAliases() have 2 same keys
|
2018-02-22 22:06:13 +04:00 |
|
|
65f6b59b35
|
@inheritdoc notation changed
|
2018-01-23 13:11:24 +02:00 |
|
|
b953a184e3
|
Fixes #13919: Added option to add comment for created table to migration console command
|
2018-01-15 18:30:52 +03:00 |
|
|
2d672b6722
|
release version 2.0.13
|
2017-11-03 01:09:29 +03:00 |
|
|
e311001ef5
|
#14543: Adjusted implementation of migration name length limit
|
2017-10-27 00:20:37 +03:00 |
|
|
ab8c54f12a
|
Fixes #14864: Ability to use dependencies in constructor of migrations
|
2017-09-23 01:24:18 +02:00 |
|
|
9588c8f5a4
|
Fixes #13853: Added yii\db\Migration::$compact as well as yii\console\controllers\BaseMigrateController::$compact to allow making the migration console output more compact
|
2017-08-25 13:30:28 +03:00 |
|
|
264831cf21
|
BaseMigrateController::refreshDatabase() renamed to truncateDatabase()
|
2017-08-24 13:08:46 +03:00 |
|
|
5a8c3d537b
|
Enable phpdoc_summary rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
|
2017-08-21 11:19:35 +02:00 |
|
|
1501c659ac
|
Add empty lines before return statements. (#14682) [skip ci]
|
2017-08-21 01:58:49 +03:00 |
|
|
58792cdac5
|
Fixes #14664: Add migrate/fresh command to truncate database and apply migrations again
|
2017-08-20 01:00:41 +03:00 |
|
|
fe8a0a6a2e
|
Enable no_useless_else rule in php-cs-fixer (#14420)
|
2017-07-10 11:26:21 +03:00 |
|
|
ba0ab403b5
|
Added php-cs-fixer coding standards validation to Travis CI (#14100)
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
|
2017-06-12 12:25:45 +03:00 |
|
|
6ec6f8d76c
|
moved include file logic to separate method
|
2017-06-02 13:35:45 +02:00 |
|
|
5288577221
|
make migrationPath accept an array
|
2017-06-02 13:35:45 +02:00 |
|
|
1141fc81a7
|
Fixes #12735: Fixed yii\console\controllers\MigrateController creating multiple primary keys for field bigPrimaryKey:unsigned
|
2016-12-02 01:03:24 +03:00 |
|
|
1157657cab
|
Fixed incorrect order of migrations history in case yii\console\controllers\MigrateController::$migrationNamespaces is in use
|
2016-11-14 14:24:53 +02:00 |
|
|
5c3cdd792b
|
fix code style
|
2016-11-12 18:15:27 +03:00 |
|
|
3d3d69e3a8
|
returned back orderBy()
|
2016-11-12 18:06:02 +03:00 |
|
|
50062d0b9f
|
some change
|
2016-11-12 15:30:46 +03:00 |
|
|
c7c8f09827
|
ksort and reverse to uksort
|
2016-11-12 11:10:57 +03:00 |
|
|
481932e238
|
add migration name to sort
|
2016-11-12 02:20:00 +03:00 |
|
|
59f7335b8f
|
change getMigrationHistory
|
2016-11-12 00:58:20 +03:00 |
|
|
b48b1a0657
|
Fixes #12904: Fixed lowercase table name in migrations
|
2016-11-08 23:39:44 +03:00 |
|
|
4aa935e69e
|
Fixes #12055: Changed boolean to bool and integer to int in phpdoc
|
2016-11-07 02:51:39 +03:00 |
|
|
4f89265fff
|
Fixes #12748: Migration generator now tries to fetch reference column name for foreignKey from schema if it's not set explicitly
|
2016-11-01 02:02:16 +03:00 |
|
|
8aa0e85a07
|
Add migration namespace support (#12511)
namespace support added to `BaseMigrateController`
|
2016-09-12 14:01:04 +03:00 |
|
|
8ec60e3d9b
|
Merge branch '12423-migration-tool' of https://github.com/pana1990/yii2 into pana1990-12423-migration-tool
|
2016-09-11 21:17:43 +03:00 |
|
|
ae42d7b281
|
Fix #12423 Fix bug migration tool when creating fields with brackets in comment
|
2016-09-11 18:03:09 +02:00 |
|
|
496de65ee2
|
Fixes #12053: ./yii migrate/create was generating wrong code when using bigPrimaryKey
|
2016-08-05 01:09:55 +03:00 |
|
|
5992eea571
|
Fixes #11808: _table and _column suffixes are now required when generating migration
|
2016-07-04 12:50:37 +03:00 |
|