70 Commits (master)

Author SHA1 Message Date
Alexander Makarov 385fe13d66
Revert #18102 since renaming is technically problematic (#18109) 4 years ago
Brandon Kelly eb956e9c6b
primary/replica in a definitely non-breaking way (#18106) 4 years ago
Brandon Kelly 472600ee3f
Fix #18102: Use “primary”/“replica” terminology instead of “master”/“slave” 4 years ago
Sartor a66fac3bb1
Fix #17758: `Query::withQuery()` can be used for CTE 5 years ago
Alexander Makarov 438cc80fc7
Fix #17667: Fix `CREATE INDEX` failure on sqlite when specifying schema 5 years ago
Alexander Kartavenko cdd40b8dfb Fix #17504: Fix upsert when `$updateColumns = true` but there are no columns to update in the table 5 years ago
Alexander Kartavenko eb65dba796 Fixes #17057: Fixed issues with table names that contain special characters or keywords in MSSQL 5 years ago
Bizley 3907895324 Fixes #16897: Fixed `yii\db\sqlite\Schema` missing primary key constraint detection in case of `INTEGER PRIMARY KEY` 6 years ago
SilverFire - Dmitry Naumenko 59fed9a428
Fixed error in tests 7 years ago
SilverFire - Dmitry Naumenko 0177d68476
Commit da06c4a1 reduced num of useless brackets in SQL. Fixing tests 7 years ago
Alexander Makarov 64d57043b1
Fixes #11401: Fixed `yii\web\DbSession` concurrency issues when writing and regenerating IDs 7 years ago
Dmitry Naumenko de1750228d Fixes #13879: Added upsert support for `yii\db\QueryBuilder` and `yii\db\Command` 7 years ago
Vladimir Reznichenko ecf3ef8bf9 Use root NS specification for opcoded functions 7 years ago
Zhukov Roman 40b038379f Fixes #13019: Support JSON in SchemaBuilderTrait 7 years ago
Klimov Paul 71c541773f PHPDoc fix 7 years ago
Klimov Paul 65f6b59b35 `@inheritdoc` notation changed 7 years ago
Sergey Makinen 315855f7f5 Fixes #15357: Added multi statement support for `yii\db\sqlite\Command` 7 years ago
Sergey Makinen 4e176ca325 Fixes #15108: Fixed `yii\db\Schema::getSchemaNames()` for MSSQL and added tests for all DBMSes 7 years ago
SilverFire - Dmitry Naumenko c0d8b0a817
Fixed sqlite tests 7 years ago
SilverFire - Dmitry Naumenko 06d7a1f0c6
Improved ConnectionTest performance 7 years ago
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Robert Korulczyk 0c0942d6e2 Enable `phpdoc_add_missing_param_annotation` rule in php-cs-fixer config. (#14681) [skip ci] 7 years ago
Robert Korulczyk 12eb936083 Enable `heredoc_to_nowdoc` rule in php-cs-fixer (#14419) 7 years ago
Sergey Makinen c8856ccd4e
Fix merging issues & CS 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
Sergey Makinen 52f8539135
Add Command tests 7 years ago
Sergey Makinen 73ac13e6d7
Implement retrieving dbms constraints 7 years ago
Carsten Brandt fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql() 7 years ago
Alexander Makarov 3f8e8a89eb Used more specific unit test assertions in framework tests 8 years ago
Sergey Makinen 9a915ba10c Fixes #8120: Fixes LIKE special characters escaping for Cubrid/MSSQL/Oracle/SQLite in `yii\db\QueryBuilder` 8 years ago
Bob Olde Hampsink fab53b4a6e Fixes #13582: Added tests for all `yii\db\QueryBuilder::resetSequence` implementations, fixed SQLite implementation 8 years ago
Boudewijn Vahrmeijer 45d670c995 Update ConnectionTest.php 8 years ago
Vovan-VE 3538bde085 Add test case for #13340 and update CHANGELOG 8 years ago
Alexander Makarov 1cc327f108
Run common batch insert tests for SQLite 8 years ago
Tobias Munk f5ab85c393 updated debug settings (+56 squashed commits) 8 years ago
João Pedro Pereira 3692941ead
Fixes #11464: Foreign key name is not provided by schema 8 years ago
Vladimir f3bc11c724 Implement #13219: Ability to not shuffle masters connections (#13241) 8 years ago
Carsten Brandt 24809c5d73 fixed group annotations for #12889 8 years ago
Robert Korulczyk 4aa935e69e Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc 8 years ago
Boudewijn Vahrmeijer 560e3eb0a3 Unit tests created for ActiveQuery (#12889) 8 years ago
Alexander Makarov 01c4dde202 Added tests for column schema builder comment() method 8 years ago
Carsten Brandt 86f17c8dad added tests classes for db related tests 8 years ago
Carsten Brandt 8ba032d147 refactored database tests 8 years ago
cuiliang c0df003ac0 merge from master 8 years ago
SilverFire - Dmitry Naumenko 77b29bf927 Added tests to ColumnSchemaBuilderTest in order to verify custom column types work OK 8 years ago
SilverFire - Dmitry Naumenko 8c2a70b3e7 Moved TraversableObject to yiiunit\data\base namespace 9 years ago
SilverFire - Dmitry Naumenko e2e4f76229 Updated SqliteQueryBuilderTest to work with Composite in conditions 9 years ago
Carsten Brandt 8d8cd1a26d adjusted dbms specific tests 9 years ago
SilverFire - Dmitry Naumenko b08c82c5fe Driver specific QueryBuilderTest::testCommentColumn() - improved to use replaceQuotes() 9 years ago
SilverFire - Dmitry Naumenko 8999e66e71 Fixed SqliteQueryBuilderTest 9 years ago