101 Commits

Author SHA1 Message Date
97a4d711ec Merge branch 'master' into sync-master-2052. 2025-04-26 19:03:07 -04:00
52e4a3e645 release version 2.0.50 2024-05-30 20:23:31 +03:00
42e6524413 Fix tests addCheck(), dropCheck() MariaDB. (#20174) 2024-05-30 18:54:15 +03:00
5ebc175768 Fix: #20171: Support JSON columns for MariaDB 10.4 or higher 2024-05-29 15:01:48 +03:00
2d2e141e3e Minor improvents. 2024-05-18 16:54:18 -04:00
14e2631fdf Normalize column names. 2024-05-18 14:03:39 -04:00
bd73df5dcf Fix MySQL version check for check constraints. 2024-05-18 13:39:02 -04:00
4996fd3d91 Add draft loadTableChecks() method, and add tests. 2024-05-18 13:35:03 -04:00
20d6c65db2 Merge branch 'master' into sync-to-master. 2024-03-20 06:11:31 -03:00
e2a167028b Upgrade to PSR12 coding standard (#20121) 2024-03-19 17:21:27 +03:00
be70b23398 Merge branch 'master' into sync-to-2-branch 2024-01-03 12:51:59 -03:00
0263c19833 Revert 20045. 2023-11-02 08:28:05 -03:00
77fbaa65b3 Sync to master branch. 2023-10-31 14:32:05 -03:00
4b7669cf08 Fix boolean type MYSQL. 2023-10-25 08:37:18 -03:00
c9c100acd7 Remove deprecated method className() for branch 2.2. (#19894) 2023-07-16 21:45:39 +08:00
6e7d0fbff4 Fix #19816: Explicitly pass $fallbackToMaster as true to getSlavePdo() to ensure it is not affected by child class with changed defaults 2023-05-04 15:36:33 +03:00
5d0d6f4a18 Fix #19705: Add binary and other data type to $typeMap list for MySQL 2023-02-09 22:05:52 +03:00
63ae3f9a04 Fix #9740: Usage of DI instead of new keyword in Schemas 2022-11-27 19:10:23 +03:00
6a144bfc61 Fix #19537: Fix default expression detection for MariaDB date and time columns 2022-09-04 22:10:02 +03:00
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
6a36fa82c7 Fix #19047, fix #19118: Fix deprecated preg_match() passing null parameters #2 in db\mysql\Schema.php 2022-02-07 01:29:03 +03:00
1271bc419f Fix #19041: Fix PHP 8.1 issues 2022-01-14 13:52:01 +03:00
9c370a6ccf Fix #8750: Fix MySQL support when running in ANSI/ANSI_QUOTES modes 2021-01-30 23:21:04 +03:00
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
c5b1574757 Fix #18147: Fixed parameters binding for MySQL when prepare emulation is off 2020-07-03 12:40:32 +03:00
385fe13d66 Revert #18102 since renaming is technically problematic (#18109) 2020-06-17 13:40:17 +03:00
eb956e9c6b primary/replica in a definitely non-breaking way (#18106) 2020-06-16 11:33:27 +03:00
472600ee3f Fix #18102: Use “primary”/“replica” terminology instead of “master”/“slave” 2020-06-14 00:12:10 +03:00
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
7ccadb4a79 Fixes #15167: Fixed loading of default value current_timestamp() for MariaDB >= 10.2.3 2019-01-11 17:47:40 -05:00
a33b09dab3 remove ColumnSchema import from mysql Schema because it conflicts with existing class 2018-03-20 13:40:28 +01:00
92213864d9 Fixes #15776: Fixed slow MySQL constraints retrieving 2018-03-08 00:45:22 +03:00
abb503c284 release version 2.0.14.1 2018-02-24 22:23:06 +02:00
dc452b7e24 Fixed multiple JSON-related issues (#15732) 2018-02-23 23:07:04 +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
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
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
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
73ac13e6d7 Implement retrieving dbms constraints 2017-05-15 20:55:25 +03:00
3692941ead Fixes #11464: Foreign key name is not provided by schema 2017-01-16 00:27:20 +03:00