[phpMyAdmin Developers] Add support for CHECK constraints

Lakshay arora <[email protected]>
Newsgroups gmane.comp.php.phpmyadmin.devel
Message-ID <CAB1=0c7PE02-2GKmQXDVai4m8387m-SyCvoXVfvf6Mp_fqGfbQ@mail.gmail.com>
Hello,
I'm currently working on this
<https://github.com/phpmyadmin/phpmyadmin/issues/13592>(Add support for
CHECK constraints), as a part of my GSOC project.

As Isaac has written in his comment, this feature involves three parts. The
order in which I want to work on this is the following -
1. Implement an interface for interacting with these constraints
2. Update parser to understand this syntax
3. Update the export interface to allow including these in an export

For the first part-
I am thinking of implementing this something like query by example,
  - we show the operator in a select dropdown, and 2 options, to enter
value or another column name
The constraints will be shown like indexes are, in the table structure,
where there will be an option to delete or add new check constraint on the
table.

For second and third parts-
Not sure yet.

_______________________________________________
Developers mailing list
[email protected]
https://lists.phpmyadmin.net/mailman/listinfo/developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.