DarkDef
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
Bizley
9790ea3a35
Add tests to ensure ActiveQuery is using DB connection set by model ( #18286 )
2020-09-17 20:07:32 +03:00
Wilmer Arambula
e5e80ac5ec
Fix testGetColumType for PostgreSQL ( #18279 )
2020-09-11 19:23:00 +03:00
Wilmer Arambula
5558ee793b
Fix #18040 , fix #15265 , fix #18232 database issues ( #18225 )
...
- Bug #18040 : Display width specification for integer data types was deprecated in MySQL 8.0.19
- Bug #15265 : PostgreSQL > 10.0 is not pass tests with default value of timestamp CURRENT_TIMESTAMP
- Bug #18232 : Fail tests pgsql v-10.14, v-11.9, v-12-latest
2020-09-10 20:36:04 +03:00
DarkDef
4b2af4d2a4
Bug #13973 : Correct alterColumn for MSSQL & drop constraints before drop column
...
Fixing #11158 and #13973
2020-09-08 12:50:32 +03:00
Maxim Hodyrev
09dc9b70f8
Fix #18066 : Fixed yii\db\Query::create() wasn't using all info from withQuery()
2020-09-07 15:45:57 +03:00
DarkDef
a624c31698
Fix #18198 : Fix saving tables with trigger by outputting inserted data from insert query with usage of temporary table
2020-08-05 09:39:05 +03:00
Alexander Makarov
54be5503c9
#18134 : Use better string name in a test
2020-07-03 16:55:00 +03:00
DarkDef
1faa45c552
Fix #18134 : Expression as columnName should not be quoted in likeCondition
2020-07-03 12:27:31 +03:00
Alexander Makarov
7ca23a2413
Revert "Fix #18134 : Instance of ExpressionInterface will not be quoted in Connection:quoteColumnName"
...
This reverts commit e342162425 .
2020-06-30 21:37:57 +03:00
DarkDef
e342162425
Fix #18134 : Instance of ExpressionInterface will not be quoted in Connection:quoteColumnName
2020-06-30 17:59:23 +03:00
Alexander Makarov
385fe13d66
Revert #18102 since renaming is technically problematic ( #18109 )
2020-06-17 13:40:17 +03:00
Brandon Kelly
eb956e9c6b
primary/replica in a definitely non-breaking way ( #18106 )
2020-06-16 11:33:27 +03:00
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
2020-06-14 14:20:21 +03:00
Brandon Kelly
472600ee3f
Fix #18102 : Use “primary”/“replica” terminology instead of “master”/“slave”
2020-06-14 00:12:10 +03:00
Evgenii Goryaev
1b07c0d4fb
Fix #18001 : Fix getting table metadata for tables ( in their name
2020-06-10 12:22:10 +03:00
Alex
37fc929285
Fix #18010 : Allow upper or lower case operators in InCondition and LikeCondition
2020-05-02 13:28:06 +03:00
Kwok
89ded8c82a
Fix #18000 : PK value of Oracle ActiveRecord is missing after save
2020-05-02 02:17:27 +03:00
Sartor
a66fac3bb1
Fix #17758 : Query::withQuery() can be used for CTE
2020-04-13 11:58:18 +03:00
Bizley
0643ef312d
Corrected tests
2020-04-08 15:29:54 +02:00
Alexander Makarov
438cc80fc7
Fix #17667 : Fix CREATE INDEX failure on sqlite when specifying schema
2020-03-24 15:40:02 +03:00
Alex
50b19dbfba
Fix #17920 : Fix for Command::getRawSql and Expression in params
2020-03-20 19:15:16 +03:00
Ivan Hermanov
b7d8730044
Fix #16092 : Fix duplicate joins in usage of joinWith
2020-03-04 17:57:07 +03:00
vinpel
f165b6b31f
Fix #17679 : Fix Oracle exception "ORA-01461: can bind a LONG value only for insert into a LONG column" when inserting 4k+ string
2020-03-02 23:26:53 +03:00
simialbi
79e68767db
Fix #11945 : Fix Schema Builder MySQL column definition order
2020-02-22 17:17:06 +03:00
Bizley
b79fe7d106
Fix #17744 : Fix a bug with setting incorrect defaultValue to AR column with CURRENT_TIMESTAMP(x) as default expression (MySQL >= 5.6.4)
2019-12-20 15:23:20 +03:00
Dmitriy Derepko
bc180ac20d
Fix #17745 : Fix PostgreSQL query builder drops default value when it is empty
2019-12-18 14:27:10 +03:00
Hubert Strychalski
817c264181
Fix #17661 : Fix query builder incorrect IN/NOT IN condition handling for null values
2019-12-17 13:58:07 +03:00
Brandon Kelly
88f08005ab
Fix #17687 : Query::indexBy can now include a table alias
2019-12-12 02:32:40 +03:00
Evgeny
09eacd8dc1
Bug #17597 : PostgreSQL 12 and partitioned tables support (batyrmastyr)
...
* yiisoft#17597, pg_constraint.consrc removed in Postgres 12
* yiisoft#17597, load schema for partitioned tables (introduced in Postgres 10)
* messed up with issue number
* #yiisoft#17597 Postgres 12 support, support GENERATED AS IDENTITY columns
* uncleared FileCache leads to falsy failures on subsequent test runs
* moved .sql for postgres 10 and 12 to separate files, added ResetSequence test for GENERATED AS IDENTITY column
2019-10-18 14:57:24 +03:00
Alexander Kartavenko
97499315a4
Fix #17539 : Fixed error when using batch() with indexBy() with MSSQL
2019-09-10 20:55:58 +03:00
Razvan Grigore
062ebf5c0b
Fix #17549 : Fix yii\db\ExpressionInterface not supported in yii\db\conditions\SimpleConditionBuilder
2019-09-10 18:21:53 +03:00
Manu311
cc5bb71f75
Fix #17449 : Ensure CHECK statement goes after COMMENT in MySQL QueryBuilder::addCommentOnColumn()
2019-09-03 19:36:37 +03:00
Alexander Kartavenko
cdd40b8dfb
Fix #17504 : Fix upsert when $updateColumns = true but there are no columns to update in the table
2019-08-21 11:56:20 +03:00
Alexander Kartavenko
69cf9de56b
Fix #17473 : Fixed SimpleConditionBuilder::build() when column is not a string
2019-08-01 13:20:37 +03:00
Alexander Kartavenko
4b768a86f5
Fix #17486 : Fixed error when using batch() without $db parameter with MSSQL
2019-08-01 13:17:31 +03:00
Sidney Lins
9988efc04f
Fix #16796 : Fixed addition and removal of table and column comments in MSSQL
2019-07-23 18:50:57 +03:00
Alexander Kartavenko
6fc04a622e
Fix #17219 : Fixed quoting of table names with spaces in MSSQL
2019-07-19 13:48:57 +03:00
Alexander Kartavenko
259c496e2e
Fix #10020 : Fixed quoting of column names with dots in MSSQL
2019-07-17 16:46:31 +03:00
Alexander Kartavenko
a9097dbac3
Fix #17435 : Fixed i18n_init migration for MSSQL
2019-07-15 23:05:26 +03:00
Alexander Kartavenko
25cf331839
Closes #10023 . Fix MSSQL "There are no more rows" exception when using each() and batch()
2019-07-15 13:54:33 +03:00
Alexander Kartavenko
136705c92b
MSSQL: fix tests ( #17431 )
2019-07-13 02:27:47 +03:00
Alexander Kartavenko
d98f4e69b5
Fix MSSQL tests ( #17426 )
2019-07-11 19:39:46 +03:00
Alexander Kartavenko
869f475dc1
Fix #17413 , fix #17418 : Fixed MSSQL tests
2019-07-10 17:30:41 +03:00
Alexander Kartavenko
9f2a87363e
Fixes #17420 : Fixed loading of column default values for MSSQL
2019-07-10 17:29:11 +03:00
Alexander Kartavenko
55b06d2364
Fix #17413 : Fixed MSSQL tests: QueryBuilderTest::testGetColumnType(), QueryBuilderTest::testResetSequence()
2019-07-09 11:47:55 +03:00
Alexander Kartavenko
56f639358c
Add MSSQL tests ( #17410 )
2019-07-04 15:51:01 +03:00
Alexander Kartavenko
eb65dba796
Fixes #17057 : Fixed issues with table names that contain special characters or keywords in MSSQL
2019-07-02 14:41:56 +03:00
Brandon Kelly
f2212a3183
Fix #17384 : Fixed SQL error when passing DISTINCT ON queries
2019-06-29 00:05:22 +03:00
Sidney Lins
fe3ebe2e56
Fixes #17356 : MSSQL Schema was not detecting string field size
2019-06-18 14:25:13 +03:00