Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
support mysql DROP for CHECK constraints, which might be different from that of mariadb #554
MariaDB added real check contraints first, and we support those with "ALTER TABLE DROP CONSTRAINT " which is what MariaDB allows. At the time, there was no "DROP CHECK".
thanks for the fast response. The link to the documentation https://dev.mysql.com/doc/refman/8.0/en/create-table-check-constraints.html.
Yes, I can confirm.
CREATE TABLE test (id VARCHAR(50), CONSTRAINT test_constraint CHECK (id IS NOT NULL)); ALTER TABLE test DROP CONSTRAINT test_constraint; -> syntax error ALTER TABLE test DROP CHECK test_constraint; -> working