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
731769241b
release version 2.0.8
2016-04-28 16:50:20 +02:00
edd6e719bb
added missing since annotations and removed duplicate line
2016-04-28 03:02:17 +02:00
15432971d6
db/ColumnSchemaBuilder::buildCommentString() returns empty string by default
2016-04-20 09:26:07 +03:00
0fe27b9d3b
Refactored code in PR #9441
2016-04-19 17:48:25 +03:00
c9dfc90be0
Merge branch 'methods_for_schema_builder' of https://github.com/vaseninm/yii2 into vaseninm-methods_for_schema_builder
2016-04-19 12:21:33 +03:00
5316576361
Fixes after() column string builder ( #11362 )
2016-04-19 11:59:16 +03:00
2f91889b70
Removed unsignedPrimaryKey() schema builder type; now, the unsigned() modifier works with primary key types e.g. pk()->unsigned() or bigpk()->unsigned().
2016-02-26 17:48:03 -08:00
a6afa6072c
Merge branch 'master' of git://github.com/yiisoft/yii2 into 9562-add-char-datatype
2016-02-24 04:07:21 -08:00
2201bf14e2
Fixed parameters binding to the SQL query in yii\db\mysqlSchema::findConstraints()
...
Closes #10946
2016-02-24 08:31:24 +02:00
81ff4752d9
Added CHECK modifier to PK schema pattern. Modified UNSIGNED tests to not include modifier by default (i.e. only present when testing DBMSes that support it).
2016-02-22 04:06:17 -08:00
96fa375b16
Refactored to a more functional way of accessing database connection
2016-02-21 05:05:54 -08:00
6a8348da5f
AFTER column name is now escaped by safe method
2016-02-21 04:08:57 -08:00
f52f60db0f
Renamed category constants
2016-02-21 02:06:41 -08:00
51b99320bd
Sqlite specific schema builder class actually gets loaded now
2016-02-20 06:53:31 -08:00
eaeb926768
Adds char datatype to framework
2016-02-20 01:52:23 -08:00