13 Commits

Author SHA1 Message Date
54f25c4b04 Fix #17174: Fix yii\db\BaseActiveRecord::unlink() to not ignore on conditions in via relations 2021-03-14 19:04:07 +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
4333b90186 Fixes #15482: AR::find()->with() missing data when using string identifiers for relations 2019-01-14 18:50:56 -05:00
df91a9608f Fixes #14638: Added yii\db\SchemaBuilderTrait::tinyInteger() 2018-02-12 12:01:21 +03:00
74dc1cdc30 Fixes #13618: Active record now resets related models after corresponding attributes updates
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
2018-02-12 02:26:49 +03:00
de1750228d Fixes #13879: Added upsert support for yii\db\QueryBuilder and yii\db\Command 2018-02-09 01:05:50 +03:00
73ac13e6d7 Implement retrieving dbms constraints 2017-05-15 20:55:25 +03:00
ad796dbf22 #11912: Postgresql negative default values support for integer/float/decimal columns (#11933)
* fixes #11912: Postgresql negative default values support for integer/float/decimal columns

* added more tests

* updated CHANGELOG.md
2016-07-11 23:49:43 +02:00
357bce51bb Tests for #9006 2015-07-30 19:25:52 +03:00
51a442d6c8 Fixed yii\db\ActiveRecord does not updates attribute specified at optimisticLock() after save 2015-05-26 11:53:34 +03:00
5f099b3f8d Merge branch 'master' into 7374-inserting-ar-without-values 2015-04-21 09:49:46 +02:00
aa9399c6c0 Merge branch 'master' of github.com:yiisoft/yii2 into 5042-insert-returning 2015-04-20 11:23:38 +03:00
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00