Skip to content

CHECK constraint not shown in UI #1237

@Emaxoso

Description

@Emaxoso

Adminer version: 5.4.1
Compiled: single file (downloaded from adminer.org)
Driver: MySQL / MariaDB
Database version: 12.1.2-MariaDB
Plugins used: none

The CHECK constraint exists in the database, but it is not shown in the Adminer UI.

Steps to reproduce

CREATE TABLE `test` (
  `a` int,
  `b` int
);

ALTER TABLE `test`
  ADD CONSTRAINT `test_constraint`
  CHECK (a IS NOT NULL);

Expected result
The constraint test_constraint should be visible in the Adminer interface.

I suspect this line may be responsible: here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions