c31f9ac811
Fixes #15878 : Fixed migration with a comment containing an apostrophe
2018-03-15 00:51:32 +03: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
10b59ee6e4
Merge branch 'master' into 13221_limit_offset_expression
2017-02-22 17:02:04 +03:00
37b8cbb2d0
Fixes #12758 : Added the ability to use instances of \yii\db\Query
class as values in the \yii\db\QueryBuilder::insert()
method
2017-01-29 00:54:46 +03:00
25f08afc96
Fixes #8293 : yii\db\Query
can be passed to insert
method in yii\db\QueryBuilder
2017-01-28 23:47:26 +03:00
3692941ead
Fixes #11464 : Foreign key name is not provided by schema
2017-01-16 00:27:20 +03:00
5488fc6e28
fixes #13221
...
Make \yii\db\QueryTrait::limit and \yii\db\QueryTrait::offset methods works with \yii\db\Expression
2016-12-20 14:08:03 +07:00
ae83dd0524
Fixes #13128 : Fixed incorrect position of {pos} string in ColumnSchemaBuilder __toString
2016-12-11 23:36:35 +03:00
46da2df98d
yii\db\mysql\Schema::loadColumnSchema sets enumValues attribute incorrectly if enum definition contains comma
...
(i.e. "enum('a','B','c,D')" -> ['a','B','c','D'] instead of expected ['a','B','c,D'])
2016-11-29 00:21:44 +02:00
6a4ea892c3
Added type mapping for varbinary
data type in MySQL DBMS
...
Closes #11756
2016-11-12 17:34:20 +02:00
4aa935e69e
Fixes #12055 : Changed boolean
to bool
and integer
to int
in phpdoc
2016-11-07 02:51:39 +03:00
b3081e53a5
Fixed bug in yii\db\mysql\QueryBuilder ( #12428 )
...
Bug in yii\db\mysql\QueryBuilder class on insert empty columns
2016-09-01 17:47:46 +03:00
ef0658726f
Revert "Revert "fixed mysql defaul integer display width on unsigned pk""
...
This reverts commit 144d78ebb46874cd229f5c13ac3ca7ce3d59f1f2.
fixes #11541
2016-08-08 13:36:08 +02:00
144d78ebb4
Revert "fixed mysql defaul integer display width on unsigned pk"
...
This reverts commit 85d89e489311e20c626bcb90129c0c86978fcee4 because it
is a breaking change. see #11541
2016-08-08 11:54:29 +02:00
85d89e4893
fixed mysql defaul integer display width on unsigned pk
...
fixes #11541
2016-08-08 10:47:34 +02:00
9b1b4fc5fa
Added missing phpdoc
2016-07-30 00:02:51 +03:00
0061692e60
Replaced unnecessary double quotes with single quotes
2016-07-29 22:56:38 +03:00
27866bf9d6
Changed name to append(), fixed phpdoc, added changelog
2016-05-13 15:58:06 +03:00
66eabda770
Fixes #11195 : Added ability to append custom string to schema builder column definition
2016-05-13 15:57:54 +03:00