17742cb146
don't convert int to string if db type of column is numeric ( #18741 )
...
* write adequate test for issue #14663
* don't convert int to string if db type of column is numeric (#14663 )
* fix bigint schema test for MySql >8.0.17 (#14663 )
* Update CHANGELOG.md
* Update CHANGELOG.md
* update phpdoc [ci skip] (#14663 )
* refactoring test case to make it clearer [ci skip] (#14663 )
* check `int unsigned` in `QueryBuilderTest::testInsertInteger()` (#14663 )
* Update Upgrade.md (#14663 )
* fix `int unsigned` schema test for MySql >8.0.17 (#14663 )
* fix `int unsigned` schema test for MySql <5.7 (#14663 )
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes>
2021-07-06 20:49:01 +02:00
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
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
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
40b038379f
Fixes #13019 : Support JSON in SchemaBuilderTrait
2018-02-06 16:35:49 +03:00
73ac13e6d7
Implement retrieving dbms constraints
2017-05-15 20:55:25 +03:00
25242adb91
Fixes #5442 : Fixed problem on load fixture dependencies with database related tests
2017-05-08 22:31:12 +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
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
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
3761682edf
Upgraded some tests. Fixed MySQL test fixtures to create all tables with InnoDB.
2016-02-22 04:53:14 -08:00
ce6e92b736
add comment control methods
2015-08-14 12:27:21 +03: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
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