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
ed64d65886
release version 2.0.16
2019-01-31 00:54:16 +01: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
c31f9ac811
Fixes #15878 : Fixed migration with a comment containing an apostrophe
2018-03-15 00:51:32 +03: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
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
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +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
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
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
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
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
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
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
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
ce6e92b736
add comment control methods
2015-08-14 12:27:21 +03:00
bad507c459
Fixes #9063 : Workaround for MySQL losing table case when adding index
2015-07-17 08:41:39 +03:00
e0d2107e1b
Mysql unique index creation fix.
2015-07-10 12:27:15 -03:00
82fbb568e0
Fix for 9056
2015-07-09 11:52:33 -03:00
abe1094ac9
fixed querybuilder phpdoc
2015-06-24 14:20:02 +02:00
aa5887fec7
added missing use statement to fix #8572
...
- added unit tests for timestamp behavior and insert with expression
- fixed issue #8572
close #8596
2015-05-29 01:37:47 +02:00
67799ad092
fix typos
2015-04-11 16:41:33 +02:00
edf400df96
add missing space
2015-04-11 02:25:26 +02:00
6e48ed05c7
allow calling Command::insert() without any columns
2015-04-11 02:20:13 +02:00
5870a74672
Added Schema::DOUBLE to represent ANSI SQL Double Precision
2015-02-25 16:01:37 +03:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
8e11629a65
Fixes #2160 : SphinxQL does not support OFFSET
...
Improved `QueryBuilder::buildLimit()` to support big numbers
2014-01-29 22:42:56 -05:00
eade9dd115
message fix.
2014-01-16 20:39:06 -05:00
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00