58 Commits (50d5fb2bd9ca8ce8ab065cd60673c9bd2f44b729)

Author SHA1 Message Date
DarkDef 7a50da5cf8
Fix #18287: Fix for OUTPUT INSERTED and computed columns. Added flag to computed values in table schema 4 years ago
DarkDef 4b2af4d2a4
Bug #13973: Correct alterColumn for MSSQL & drop constraints before drop column 4 years ago
DarkDef a624c31698
Fix #18198: Fix saving tables with trigger by outputting inserted data from insert query with usage of temporary table 4 years ago
DarkDef d317e41b21
Fix #18101: Fix behavior of OUTPUT INSERTED.* for SQL Server query: "insert default values"; correct MSSQL unit tests; turn off profiling echo message in migration test 4 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
Sidney Lins 9988efc04f Fix #16796: Fixed addition and removal of table and column comments in MSSQL 5 years ago
Alexander Kartavenko 6fc04a622e Fix #17219: Fixed quoting of table names with spaces in MSSQL 5 years ago
Alexander Kartavenko 259c496e2e Fix #10020: Fixed quoting of column names with dots in MSSQL 5 years ago
Alexander Kartavenko a9097dbac3 Fix #17435: Fixed `i18n_init` migration for MSSQL 5 years ago
Alexander Kartavenko 25cf331839 Closes #10023. Fix MSSQL "There are no more rows" exception when using `each()` and `batch()` 5 years ago
Alexander Kartavenko 136705c92b MSSQL: fix tests (#17431) 5 years ago
Alexander Kartavenko d98f4e69b5 Fix MSSQL tests (#17426) 5 years ago
Alexander Kartavenko 869f475dc1 Fix #17413, fix #17418: Fixed MSSQL tests 5 years ago
Alexander Kartavenko 9f2a87363e Fixes #17420: Fixed loading of column default values for MSSQL 5 years ago
Alexander Kartavenko 55b06d2364 Fix #17413: Fixed MSSQL tests: `QueryBuilderTest::testGetColumnType()`, `QueryBuilderTest::testResetSequence()` 5 years ago
Alexander Kartavenko 56f639358c Add MSSQL tests (#17410) 5 years ago
Alexander Kartavenko eb65dba796 Fixes #17057: Fixed issues with table names that contain special characters or keywords in MSSQL 5 years ago
Sidney Lins fe3ebe2e56 Fixes #17356: MSSQL Schema was not detecting string field size 5 years ago
Sergey Makinen ac687aab29
Fixed yii\db\Command::upsert() for Cubrid/MSSQL/Oracle 7 years ago
Dmitry Naumenko de1750228d Fixes #13879: Added upsert support for `yii\db\QueryBuilder` and `yii\db\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
Dmitry Naumenko 7e7faeebd1 Fixed excess escaping in Command::batchInsert() (#13236) 7 years ago
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Sergey Makinen 452974cab3
Mark not supported constraint retrieving methods 7 years ago
Sergey Makinen 3de6f8e397
Rename DefaultConstraint to DefaultValueConstraint 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
SilverFire - Dmitry Naumenko 2d0e3fb9ef
Fixed Oracle SQL queries with `IN` condition and more than 1000 parameters 8 years ago
Sergey Makinen a9fb0171f7 Fixes #13745: `SQLSTATE[HY093]: Invalid parameter number: parameter was not defined` in MSSQL and bug fixes in `yii\db\QueryBuilder::buildLikeCondition()` 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 56c65f6079 Fixes #13577: Implemented `yii\db\mssql\QueryBuilder::resetSequence()` 8 years ago
SilverFire - Dmitry Naumenko df733d1bbe
Fixed QueryBuilderTest 8 years ago
SilverFire - Dmitry Naumenko 2f8225a244
Fixed QueryBuilderTest to work with PgSQL and other DBMS 8 years ago
Alexander Makarov 41b3f0db0b Fixed driver name in MSSQL test 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
Carsten Brandt 8d8cd1a26d adjusted dbms specific tests 9 years ago
Chris Harris 91018f6c38 Corrected MSSQL driver name. Fixed array addition to not overwrite matching keys. 9 years ago
Chris Harris 732a51b551 All common column definitions and expected outputs now in `QueryBuilderTest::columnTypes()`. `DbmsSpecificQueryBuilderTest::columnTypes()` adds DBMS specific column definitions. 9 years ago
Chris Harris db5399b124 Added `$expectedColumnSchemaBuilder` back to test data 9 years ago
Chris Harris 3761682edf Upgraded some tests. Fixed MySQL test fixtures to create all tables with InnoDB. 9 years ago
Chris Harris 81ff4752d9 Added CHECK modifier to PK schema pattern. Modified UNSIGNED tests to not include modifier by default (i.e. only present when testing DBMSes that support it). 9 years ago
Alexander Makarov 12761bf677 MSSQL does not support explicit value for an IDENTITY column #9773 9 years ago
Alexander Makarov e6f1179b62 Fixed MSSQL expected test result: we're adding ORDER BY (SELECT NULL) to limit and order queries and query params are empty array by default 9 years ago