131 Commits (5992eea5715d6e12f4af547cb594ace5488f687f)

Author SHA1 Message Date
Robert Korulczyk 099b364b14 Fixed #9574: Implicit run ColumnSchemaBuilder::null() when default value is set to null. (#11813) 8 years ago
Robert Korulczyk 104712103b Fixes #11693: Handle QueryBuilder::batchInsert() calls with no data to insert. (#11812) 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
Carsten Brandt 4e3c9e4a98 fixed scalar value for IN condition 8 years ago
Thiago bafc8b3325 Fixes #10422, #9574: New proposal fix for ColumnSchemaBuilder not null column 8 years ago
Alexander Makarov 7cea46bcb4 Changed SQLite fix #11652 according to https://github.com/yiisoft/yii2/pull/11653#issuecomment-224016289 8 years ago
Boudewijn Vahrmeijer 0a60466729 Fixes #11527: Fixed `bigPrimaryKey()` for SQLite 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 b976f638d8
Added test for PgSQL BIGINT column to ensure typecasting works OK 8 years ago
Oleg Balykin 515732c7b8 Test for bug dbTypecast with empty char #11548 8 years ago
Paul Klimov 6b607d078f #11498: Fixed unable to saved serialized object into PostgreSQL binary column (#11499) 9 years ago
Carsten Brandt 4411a74ebd proper fix for #9425, adjust changes from #11363 9 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
Sam Mousa baab8d6a68 QueryBuilder now supports `Traversable` objects for `IN` clauses. 9 years ago
Carsten Brandt 37d2373911 added tests for #9047 9 years ago
Lennart van den Dool f8a844a90f Query helper method for filter values containing operators 9 years ago
Carsten Brandt 8d8cd1a26d adjusted dbms specific tests 9 years ago
Edgard Lorraine Messias 278bfca140 Fixed `quoteColumnName` for table start with `{{` or `[[` 9 years ago
Carsten Brandt 38d347c9f5 fix quoting column name in case of quoted table name 9 years ago
Carsten Brandt fd68e6814e added failing test for #11088 9 years ago
SilverFire - Dmitry Naumenko b77d74b6d6 Fixed broken PostgreSQLQueryBuilderTest::testCommentColumn() 9 years ago
SilverFire - Dmitry Naumenko b08c82c5fe Driver specific QueryBuilderTest::testCommentColumn() - improved to use replaceQuotes() 9 years ago
SilverFire - Dmitry Naumenko 2478ba7b20 QueryBuilderTest::testCommentColumn() - improved to use replaceQuotes() 9 years ago
SilverFire - Dmitry Naumenko 8999e66e71 Fixed SqliteQueryBuilderTest 9 years ago
SilverFire - Dmitry Naumenko 1aa2f1d927 Removed sqlite/ColumnSchemaBuilder::comment() method override 9 years ago
SilverFire - Dmitry Naumenko 0fe27b9d3b Refactored code in PR #9441 9 years ago
Chris Harris 5316576361 Fixes `after()` column string builder (#11362) 9 years ago
Ivaylo Ushev 5921865459 Fixed: #11270 - Error when link record in one to many relation. (#11301) 9 years ago
Chris Harris 2fe6cee8bf Added SQLite bigpk test. Moved schema builder patterns spreadsheet to docs/internals folder. 9 years ago
Chris Harris 0b2db6f18a Fixing tests 9 years ago
Chris Harris 7bfcd0c427 Fixing tests 9 years ago
Chris Harris d8d10229c6 Fixing tests 9 years ago
SilverFire - Dmitry Naumenko 7229b3aa7d QueryBuilder::buildAndCondition() - added Expression value extraction 9 years ago
CedricYii 2bd14098f9 Fix Expression parameter binding in 'And' clause 9 years ago
Chris Harris c955ccfd47 Fixes primary key columns being added to table creation test 9 years ago
Chris Harris 2f91889b70 Removed `unsignedPrimaryKey()` schema builder type; now, the `unsigned()` modifier works with primary key types e.g. `pk()->unsigned()` or `bigpk()->unsigned()`. 9 years ago
Chris Harris b697e173fc Fixed `unsigned()` modifier to enable use with PKs. 9 years ago
Chris Harris 91018f6c38 Corrected MSSQL driver name. Fixed array addition to not overwrite matching keys. 9 years ago
Chris Harris 553cca642c Reverted `unsigned()` pk modifier 9 years ago
Chris Harris f7d23f662d Made base `QueryBuilderTest` abstract to exclude it from tests. Added upgrade notes. 9 years ago
Chris Harris 030ee68b01 Testing `unsigned()` modifier on PKs (now `$this->primaryKey()->unsigned()` works) 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 4531b981f4 Items with text only in col 3 will be ignored 9 years ago
Chris Harris 8eb746d1f1 Testing multi-DBMS capable column schema test data array 9 years ago
Carsten Brandt 5880968d45 added unit test for #10946 9 years ago
Chris Harris 0ca5a1a86a Fixed test 9 years ago
Chris Harris a997603ab6 More Postgres tests 9 years ago
Chris Harris f709246cac Fixed test data 9 years ago