Klimov Paul
|
d8e6a89af9
|
fixed tests without assettions
|
8 years ago |
Artur Fursa
|
1b322f519f
|
Fixes #13776: Fixed setting precision and scale for decimal columns in MSSQL
|
8 years ago |
Alexander Makarov
|
3f8e8a89eb
|
Used more specific unit test assertions in framework tests
|
8 years ago |
gagatust
|
6397791513
|
Fixed whitespaces to match code style [skip ci]
|
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 |
SilverFire - Dmitry Naumenko
|
2f8225a244
|
Fixed QueryBuilderTest to work with PgSQL and other DBMS
|
8 years ago |
SilverFire - Dmitry Naumenko
|
54c7e0c434
|
Added tests for QueryBuilder::batchInsert()
|
8 years ago |
Chris Harris
|
ae83dd0524
|
Fixes #13128: Fixed incorrect position of {pos} string in ColumnSchemaBuilder `__toString`
|
8 years ago |
Zlakomanov Alexander
|
b8bf0d0c0c
|
added hint into foreign keys query for oracle 11g optimisation
update oci tests
improved varible name
Closes #13122
|
8 years ago |
SilverFire - Dmitry Naumenko
|
fb210b8839
|
Fixed typo in data type. Fixes #12599
|
8 years ago |
SilverFire - Dmitry Naumenko
|
3861108553
|
Fixed casting of `binnary()` type for MSSQL. Closes #12599
|
8 years ago |
Carsten Brandt
|
ef0658726f
|
Revert "Revert "fixed mysql defaul integer display width on unsigned pk""
This reverts commit 144d78ebb4 .
fixes #11541
|
8 years ago |
Carsten Brandt
|
144d78ebb4
|
Revert "fixed mysql defaul integer display width on unsigned pk"
This reverts commit 85d89e4893 because it
is a breaking change. see #11541
|
8 years ago |
Carsten Brandt
|
85d89e4893
|
fixed mysql defaul integer display width on unsigned pk
fixes #11541
|
8 years ago |
Robert Korulczyk
|
099b364b14
|
Fixed #9574: Implicit run ColumnSchemaBuilder::null() when default value is set to null. (#11813)
|
8 years ago |
Carsten Brandt
|
4e3c9e4a98
|
fixed scalar value for IN condition
fixes regression from 2.0.8 #10961
fixes #11536
|
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
|
8c2a70b3e7
|
Moved TraversableObject to yiiunit\data\base namespace
|
9 years ago |
SilverFire - Dmitry Naumenko
|
e2e4f76229
|
Updated SqliteQueryBuilderTest to work with Composite in conditions
Updated code style, CHANGELOG
|
9 years ago |
Sam Mousa
|
baab8d6a68
|
QueryBuilder now supports `Traversable` objects for `IN` clauses.
|
9 years ago |
Carsten Brandt
|
fd68e6814e
|
added failing test for #11088
|
9 years ago |
SilverFire - Dmitry Naumenko
|
2478ba7b20
|
QueryBuilderTest::testCommentColumn() - improved to use replaceQuotes()
|
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 |
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
Updated CHANGELOG
Added test case for param binding in `or` condition
Closes #11093
|
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 |
Chris Harris
|
f709246cac
|
Fixed test data
|
9 years ago |
Chris Harris
|
cbcdf11836
|
Formatting
|
9 years ago |
Chris Harris
|
0a336df6ba
|
Check return value of strncmp. Corrected SQLite expected schema test data.
|
9 years ago |
Chris Harris
|
f500354040
|
Remove _all_ variants of primary key columns from `testCreateTableColumnTypes()` test
|
9 years ago |
Chris Harris
|
0f0964be90
|
Correct builder type in test data
|
9 years ago |
Chris Harris
|
13823834e2
|
Start of new tests
|
9 years ago |
Chris Harris
|
db5399b124
|
Added `$expectedColumnSchemaBuilder` back to test data
|
9 years ago |