b7723aebcf
Fix bracket
2020-03-04 12:25:16 +03:00
db9e2fa709
Add missing bracket
2020-03-04 11:59:04 +03:00
fbdf464510
Backwards compatibility and formatting fix for #17897
2020-03-04 01:59:57 +03:00
358e3518b3
feat: fix unittest
2020-02-28 11:48:24 +08:00
990c4be454
feat: fix codeclimate error
2020-02-28 11:16:23 +08:00
2051c05087
feat: update code after review
2020-02-27 08:05:28 +08:00
b9316c9205
feat: fix unit test errors
2020-02-26 18:55:23 +08:00
7428a45bf9
fix : #13749 Yii opens db connection even when hits query cache
2020-02-26 18:10:58 +08:00
79e68767db
Fix #11945 : Fix Schema Builder MySQL column definition order
2020-02-22 17:17:06 +03:00
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
cc5bb71f75
Fix #17449 : Ensure CHECK statement goes after COMMENT in MySQL QueryBuilder::addCommentOnColumn()
2019-09-03 19:36:37 +03:00
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
c0254d617e
Fix #17449 : Fixed order of SQL column build syntax for MySQL migration
2019-07-23 17:37:16 +03:00
ed64d65886
release version 2.0.16
2019-01-31 00:54:16 +01:00
7ccadb4a79
Fixes #15167 : Fixed loading of default value current_timestamp() for MariaDB >= 10.2.3
2019-01-11 17:47:40 -05:00
9f383ab228
Fixes #14367 : In yii\db\mysql\QueryBuilder added support fractional seconds for time types for MySQL >= 5.6.4
2018-10-11 14:43:32 +03:00
a33b09dab3
remove ColumnSchema import from mysql Schema because it conflicts with existing class
2018-03-20 13:40:28 +01:00
f33959419a
Fixes #15878 : Fixed migration with a comment containing an apostrophe
2018-03-20 11:19:10 +01:00
4ad04be2ea
Fixed null saving for JSON and Array cols in AR
...
Fixes #15863
2018-03-13 16:03:46 +02:00
79583a2c7e
Reverted casting JsonExpression(null) to SQL NULL
2018-03-10 11:14:08 +02:00
cc29ef8968
Fixed JsonExpressionBuilder to cast JSON explicitly
...
Fixes #15839 ;
2018-03-10 09:56:28 +02:00
92213864d9
Fixes #15776 : Fixed slow MySQL constraints retrieving
2018-03-08 00:45:22 +03:00
abb503c284
release version 2.0.14.1
2018-02-24 22:23:06 +02:00
25d176aa70
Added flags to ColumnSchema to disable JSON and Arrays support
2018-02-24 17:18:40 +02:00
dc452b7e24
Fixed multiple JSON-related issues ( #15732 )
2018-02-23 23:07:04 +02:00
bd472c3640
Revert "Fixed regexp in tests"
...
This reverts commit 4fbece20cece701b9c917e130545c5c49fa044d8.
2018-02-20 23:56:54 +02:00
4fbece20ce
Fixed regexp in tests
2018-02-20 23:56:36 +02:00
22832b7c49
release version 2.0.14
2018-02-19 00:27:09 +02:00
089685975a
Wrap @inheritdoc tag in curly brackets [skip ci]
2018-02-19 00:16:19 +02:00
01636ae45a
Revert "Use QueryBuilder->buildExpression for Query where possible"
...
This reverts commit 79679b9b6c019682b3ccd817cea371b1214695ba.
2018-02-18 20:50:15 +02:00
79679b9b6c
Use QueryBuilder->buildExpression for Query where possible
2018-02-18 20:36:25 +02:00
df91a9608f
Fixes #14638 : Added yii\db\SchemaBuilderTrait::tinyInteger()
2018-02-12 12:01:21 +03:00
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
2018-02-11 01:48:29 +03:00
de1750228d
Fixes #13879 : Added upsert support for yii\db\QueryBuilder and yii\db\Command
2018-02-09 01:05:50 +03:00
40b038379f
Fixes #13019 : Support JSON in SchemaBuilderTrait
2018-02-06 16:35:49 +03:00
d16586334d
Fixes #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
2018-02-05 04:59:14 +07:00
65f6b59b35
@inheritdoc notation changed
2018-01-23 13:11:24 +02:00
a2a79a70eb
Fixes #13814 : MySQL unique index names can now contain spaces
2018-01-22 00:27:58 +03:00
605478c043
Fixes #14157 : Add support for loading default value CURRENT_TIMESTAMP of MySQL datetime field
2017-12-20 01:45:01 +03:00
f9fd4da8de
Fixed MySQL 5.7 compatibility
...
’’’
General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column information_schema.kcu.ORDINAL_POSITION
’’’
2017-09-16 08:52:47 +03:00
5a8c3d537b
Enable phpdoc_summary rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
12eb936083
Enable heredoc_to_nowdoc rule in php-cs-fixer ( #14419 )
2017-07-10 13:18:52 +03:00
fe8a0a6a2e
Enable no_useless_else rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03:00
164d3c83e9
Have I fixed these phpdocs? Let’s see…
2017-07-03 15:10:48 +03:00
452974cab3
Mark not supported constraint retrieving methods
2017-06-28 21:40:52 +03:00
c8856ccd4e
Fix merging issues & CS
2017-06-17 01:02:01 +03:00
118fc08af8
Fix dropping unique/indexes
2017-05-15 20:55:26 +03:00
73ac13e6d7
Implement retrieving dbms constraints
2017-05-15 20:55:25 +03:00
454f0a9301
Fixes #13807 : Fixed yii\db\QueryBuilder to inherit subquery params when building a INSERT INTO ... SELECT query
2017-04-17 03:31:43 +03:00