97a4d711ec
Merge branch 'master' into sync-master-2052.
2025-04-26 19:03:07 -04:00
80f2545cf1
Fixes CS ( #20288 )
2024-12-06 09:11:14 +03:00
8dacd2aad7
Fix #20195 : Do not set non abstract values into ColumnSchema->type
on MSSQL version less then 2017
2024-06-18 12:30:42 +03: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
77fbaa65b3
Sync to master branch.
2023-10-31 14:32:05 -03:00
9d3c71d6a7
Fix #20040 : Fix type boolean
in MSSQL
2023-10-25 19:47:46 +03:00
203952f4af
Fix type boolean in MSSQL
. ( #20040 )
2023-10-25 07:33:47 -03:00
c9c100acd7
Remove deprecated method className()
for branch 2.2
. ( #19894 )
2023-07-16 21:45:39 +08:00
63ae3f9a04
Fix #9740 : Usage of DI instead of new keyword in Schemas
2022-11-27 19:10:23 +03:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +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
4fba562cd0
New attemp
2021-04-26 19:24:14 +03:00
0571e806b9
Fix #18447 : Do not use getLastInsertID
to get PK from insert query to lower collision probability for concurrent inserts
2020-12-24 14:04:01 +03:00
82400fc33e
Fix #18365 : Move quoting of table names to upper level to function getSchemaMetadata()
in MSSQL driver to get clean names from schema
2020-12-23 12:40:05 +03:00
7a50da5cf8
Fix #18287 : Fix for OUTPUT INSERTED and computed columns. Added flag to computed values in table schema
2020-10-04 21:44:18 +03:00
38f038175f
Adjust changelog, correct phpdoc, minor code style fixes
2020-07-07 15:00:16 +03:00
d755004c41
Fix #18110 : Add quotes to return value of viewName in MSSQL schema. It is [someView]
now
2020-06-22 23:46:04 +03:00
5c01dc75ae
Fix #13828 , Fix #17474 : Fix retrieving inserted data for a primary key for SQL Server 2005 or later
...
- Bug #13828 : Fix retrieving inserted data for a primary key of type uniqueidentifier for SQL Server 2005 or later.
- Bug #17474 : Fix retrieving inserted data for a primary key of type trigger for SQL Server 2005 or later.
The OUTPUT clause is new to SQL Server 2005 and has the ability to access the INSERTED and DELETED tables as is the case with a trigger.
2020-06-06 22:44:40 +03:00
c2eae6cb0e
Fix #17457 : Fixed phpTypecast()
for MSSQL
2019-07-23 23:08:31 +03:00
9988efc04f
Fix #16796 : Fixed addition and removal of table and column comments in MSSQL
2019-07-23 18:50:57 +03:00
259c496e2e
Fix #10020 : Fixed quoting of column names with dots in MSSQL
2019-07-17 16:46:31 +03:00
dfe58e877c
Remove unnecessary use
2019-07-10 21:16:39 +03:00
869f475dc1
Fix #17413 , fix #17418 : Fixed MSSQL tests
2019-07-10 17:30:41 +03:00
9f2a87363e
Fixes #17420 : Fixed loading of column default values for MSSQL
2019-07-10 17:29:11 +03:00
6b10bbcec2
Closes #17057 . \yii\db\mssql\Schema::findTableNames
should return quoted table names. ( #17409 )
2019-07-02 17:03:27 +03:00
eb65dba796
Fixes #17057 : Fixed issues with table names that contain special characters or keywords in MSSQL
2019-07-02 14:41:56 +03:00
fe3ebe2e56
Fixes #17356 : MSSQL Schema was not detecting string field size
2019-06-18 14:25:13 +03:00
089685975a
Wrap @inheritdoc tag in curly brackets [skip ci]
2018-02-19 00:16:19 +02:00
df91a9608f
Fixes #14638 : Added yii\db\SchemaBuilderTrait::tinyInteger()
2018-02-12 12:01:21 +03:00
de1750228d
Fixes #13879 : Added upsert support for yii\db\QueryBuilder
and yii\db\Command
2018-02-09 01:05:50 +03:00
65f6b59b35
@inheritdoc
notation changed
2018-01-23 13:11:24 +02:00
4e176ca325
Fixes #15108 : Fixed yii\db\Schema::getSchemaNames()
for MSSQL and added tests for all DBMSes
2017-11-07 19:20:14 +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
12eb936083
Enable heredoc_to_nowdoc
rule in php-cs-fixer ( #14419 )
2017-07-10 13:18:52 +03:00
164d3c83e9
Have I fixed these phpdocs? Let’s see…
2017-07-03 15:10:48 +03:00
3de6f8e397
Rename DefaultConstraint to DefaultValueConstraint
2017-06-21 12:19:16 +03:00
c8856ccd4e
Fix merging issues & CS
2017-06-17 01:02:01 +03:00
73ac13e6d7
Implement retrieving dbms constraints
2017-05-15 20:55:25 +03:00
224201950d
Fixes #13911 : Significantly enhanced MSSQL schema reading performance
2017-04-19 13:05:46 +03:00
0ea45c78a8
Fixes #13571 : Fix yii\db\mssql\QueryBuilder::checkIntegrity
for all tables
2017-02-22 16:57:32 +03:00
3692941ead
Fixes #11464 : Foreign key name is not provided by schema
2017-01-16 00:27:20 +03:00
4aa935e69e
Fixes #12055 : Changed boolean
to bool
and integer
to int
in phpdoc
2016-11-07 02:51:39 +03:00
cac514e8e9
Fixes #12293 : Fixed MSSQL Schema::resolveTableNames()
when using linked database tables
2016-08-25 23:08:37 +03:00
15432971d6
db/ColumnSchemaBuilder::buildCommentString() returns empty string by default
2016-04-20 09:26:07 +03:00
0fe27b9d3b
Refactored code in PR #9441
2016-04-19 17:48:25 +03:00
c9dfc90be0
Merge branch 'methods_for_schema_builder' of https://github.com/vaseninm/yii2 into vaseninm-methods_for_schema_builder
2016-04-19 12:21:33 +03:00
51b99320bd
Sqlite specific schema builder class actually gets loaded now
2016-02-20 06:53:31 -08:00