﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30593	Add support for check constraints on MariaDB 10.2+.	Mariusz Felisiak	nobody	"MariaDB 10.2+ support check constraints (see [https://mariadb.com/kb/en/library/constraint/#check-constraints check-constraints]), we should support them because we officially support this database. I created [https://github.com/django/django/pull/11513 PR] to fix feature flags but it requires more work e.g. with introspection.

10 tests fail at 698df6a009cb1c4dbd55905264f24f6edf41066e:
- `constraints.tests.CheckConstraintTests.test_name`
- `constraints.tests.CheckConstraintTests.test_database_constraint`
- `introspection.tests.IntrospectionTests.test_get_constraints`
- `migrations.test_operations.OperationTests.test_add_constraint`
- `migrations.test_operations.OperationTests.test_add_constraint_percent_escaping`
- `migrations.test_operations.OperationTests.test_add_or_constraint`
- `migrations.test_operations.OperationTests.test_create_model_with_constraint`
- `migrations.test_operations.OperationTests.test_remove_constraint`
- `schema.tests.SchemaTests.test_check_constraints`
- `schema.tests.SchemaTests.test_remove_field_check_does_not_remove_meta_constraints`

[1] https://mariadb.com/kb/en/library/information-schema-check_constraints-table/"	New feature	closed	Database layer (models, ORM)	dev	Normal	fixed	MariaDB, constraint, check	Tom Forbes Ian Foote Adam Johnson	Accepted	1	0	0	1	0	0
