Brandon Kelly
9c370a6ccf
Fix #8750 : Fix MySQL support when running in ANSI/ANSI_QUOTES modes
2021-01-30 23:21:04 +03:00
DarkDef
f1aaa0de89
Fix #18171 : Change case of column names in SQL query for findConstraints to fix MySQL 8 compatibility
2020-07-15 16:55:23 +03:00
Radosław Skrzypczak
c5b1574757
Fix #18147 : Fixed parameters binding for MySQL when prepare emulation is off
2020-07-03 12:40:32 +03:00
Alexander Makarov
385fe13d66
Revert #18102 since renaming is technically problematic ( #18109 )
2020-06-17 13:40:17 +03:00
Brandon Kelly
eb956e9c6b
primary/replica in a definitely non-breaking way ( #18106 )
2020-06-16 11:33:27 +03:00
Brandon Kelly
472600ee3f
Fix #18102 : Use “primary”/“replica” terminology instead of “master”/“slave”
2020-06-14 00:12:10 +03:00
Bizley
b79fe7d106
Fix #17744 : Fix a bug with setting incorrect defaultValue to AR column with CURRENT_TIMESTAMP(x) as default expression (MySQL >= 5.6.4)
2019-12-20 15:23:20 +03:00
Pavel Ivanov
7ccadb4a79
Fixes #15167 : Fixed loading of default value current_timestamp() for MariaDB >= 10.2.3
2019-01-11 17:47:40 -05:00
Carsten Brandt
a33b09dab3
remove ColumnSchema import from mysql Schema because it conflicts with existing class
2018-03-20 13:40:28 +01:00
Sergey Makinen
92213864d9
Fixes #15776 : Fixed slow MySQL constraints retrieving
2018-03-08 00:45:22 +03:00
SilverFire - Dmitry Naumenko
abb503c284
release version 2.0.14.1
2018-02-24 22:23:06 +02:00
Dmitry Naumenko
dc452b7e24
Fixed multiple JSON-related issues ( #15732 )
2018-02-23 23:07:04 +02:00
SilverFire - Dmitry Naumenko
089685975a
Wrap @inheritdoc tag in curly brackets [skip ci]
2018-02-19 00:16:19 +02:00
Robert Korulczyk
df91a9608f
Fixes #14638 : Added yii\db\SchemaBuilderTrait::tinyInteger()
2018-02-12 12:01:21 +03:00
Dmitry Naumenko
de1750228d
Fixes #13879 : Added upsert support for yii\db\QueryBuilder and yii\db\Command
2018-02-09 01:05:50 +03:00
Zhukov Roman
40b038379f
Fixes #13019 : Support JSON in SchemaBuilderTrait
2018-02-06 16:35:49 +03:00
Klimov Paul
65f6b59b35
@inheritdoc notation changed
2018-01-23 13:11:24 +02:00
Chris Harris
a2a79a70eb
Fixes #13814 : MySQL unique index names can now contain spaces
2018-01-22 00:27:58 +03:00
rossoneri
605478c043
Fixes #14157 : Add support for loading default value CURRENT_TIMESTAMP of MySQL datetime field
2017-12-20 01:45:01 +03:00
SilverFire - Dmitry Naumenko
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
Robert Korulczyk
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
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
Robert Korulczyk
12eb936083
Enable heredoc_to_nowdoc rule in php-cs-fixer ( #14419 )
2017-07-10 13:18:52 +03:00
Sergey Makinen
164d3c83e9
Have I fixed these phpdocs? Let’s see…
2017-07-03 15:10:48 +03:00
Sergey Makinen
452974cab3
Mark not supported constraint retrieving methods
2017-06-28 21:40:52 +03:00
Sergey Makinen
c8856ccd4e
Fix merging issues & CS
2017-06-17 01:02:01 +03:00
Sergey Makinen
73ac13e6d7
Implement retrieving dbms constraints
2017-05-15 20:55:25 +03:00
João Pedro Pereira
3692941ead
Fixes #11464 : Foreign key name is not provided by schema
2017-01-16 00:27:20 +03:00
Fabian Peter Hammerle
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
SilverFire - Dmitry Naumenko
6a4ea892c3
Added type mapping for varbinary data type in MySQL DBMS
...
Closes #11756
2016-11-12 17:34:20 +02:00
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
Alexander Makarov
9b1b4fc5fa
Added missing phpdoc
2016-07-30 00:02:51 +03:00
Carsten Brandt
731769241b
release version 2.0.8
2016-04-28 16:50:20 +02:00
Chris Harris
a6afa6072c
Merge branch 'master' of git://github.com/yiisoft/yii2 into 9562-add-char-datatype
2016-02-24 04:07:21 -08:00
SilverFire - Dmitry Naumenko
2201bf14e2
Fixed parameters binding to the SQL query in yii\db\mysqlSchema::findConstraints()
...
Closes #10946
2016-02-24 08:31:24 +02:00
Chris Harris
96fa375b16
Refactored to a more functional way of accessing database connection
2016-02-21 05:05:54 -08:00
Chris Harris
f52f60db0f
Renamed category constants
2016-02-21 02:06:41 -08:00
Chris Harris
51b99320bd
Sqlite specific schema builder class actually gets loaded now
2016-02-20 06:53:31 -08:00
Chris Harris
eaeb926768
Adds char datatype to framework
2016-02-20 01:52:23 -08:00
Carsten Brandt
e43c41c9ea
db layer phpdoc fixes
2016-02-07 16:33:26 +01:00
Hereward Mills
a4acd048bc
Add @throws tags to PHPDocs.
2015-12-24 11:11:03 +00:00
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
Alexander Makarov
e4f5b91f74
Fixed #6351 MySQL 5.1 compatibility
2015-11-20 02:26:15 +03:00
Steve Guns
d40435e931
Enhanced #6351 fix by reintroduced older (SQL CREATE) style FK detection for people still running MySQL servers where referential_constraints is not available
2015-10-27 17:44:16 +03:00
Alexander Makarov
5ab4f0f090
Better quotes usage in strings
...
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
jeicd
0407407b76
fix coding style to follow PSR-2
2015-10-05 13:58:47 +06:00
John Was
eb6935e4a8
add more conditions when reading mysql information_schema to speed it up
2015-10-01 12:20:19 +02:00
Jan Waś
191185f5e3
Fixes #6351 : Find MySQL FK constraints from information_schema tables instead of SHOW CREATE TABLE to improve reliability
2015-09-29 13:47:20 +03:00
John Was
4f49feee8d
fixes #7757 : in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER
...
added test to check support for setting PDO::ATTR_CASE and fetching table schemas
fixed fetching table schemas for mysql when PDO::ATTR_CASE is set
added tests for oci
fixed fetching composite fks for oci
improvements in oci schema parsing
removed autoIncrement detection fro oci and added test to verify that
implement batchInsert for oci
fix detecting IntegrityException for oci
fixed creating raw sql by skipping object and resource params
fix command test failing for sqlite
2015-03-29 21:57:13 +02:00
Alexander Makarov
5870a74672
Added Schema::DOUBLE to represent ANSI SQL Double Precision
2015-02-25 16:01:37 +03:00