Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySql driver addChek() is not implemented #19819

Closed
bobonov opened this issue Apr 27, 2023 · 2 comments
Closed

MySql driver addChek() is not implemented #19819

bobonov opened this issue Apr 27, 2023 · 2 comments
Labels

Comments

@bobonov
Copy link
Contributor

bobonov commented Apr 27, 2023

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
@samdark samdark added the type:bug Bug label May 4, 2023
@samdark
Copy link
Member

samdark commented May 4, 2023

Do you have time for a pull request?

@bobonov
Copy link
Contributor Author

bobonov commented May 5, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants