yii2 icon indicating copy to clipboard operation
yii2 copied to clipboard

MySql driver addChek() is not implemented

Open bobonov opened this issue 1 year ago • 2 comments

Using addCheck() with Mysql driver throw and exception that "is not supported by MySQL"

It is supported CHECK constaint in create/alter table since

Mysql 8.0.16 https://dev.mysql.com/blog-archive/mysql-8-0-16-introducing-check-constraint/

and

MariaDB 10.2.1https://mariadb.com/kb/en/constraint/

In previous version, CHECK is ignored and do not generate an error.

Additional info

Q A
Yii version 2.0.47
PHP version 7.4
Operating system debian

bobonov avatar Apr 27 '23 10:04 bobonov

Do you have time for a pull request?

samdark avatar May 04 '23 12:05 samdark

I think I can start to work on in a couple of weeks.

bobonov avatar May 05 '23 11:05 bobonov