1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-10 16:44:17 +02:00

SQLite: Support CHECK constraint

This commit is contained in:
Jakub Vrana
2025-02-26 11:59:50 +01:00
parent a28d95a023
commit e3a2b1b57a
7 changed files with 60 additions and 25 deletions

View File

@@ -60,7 +60,7 @@ if (!is_view($table_status)) {
if (support("check")) {
echo "<h3 id='checks'>" . lang('Checks') . "</h3>\n";
$check_constraints = check_constraints($TABLE);
$check_constraints = $driver->checkConstraints($TABLE);
if ($check_constraints) {
echo "<table>\n";
foreach ($check_constraints as $key => $val) {