From faaf3d89e3b9475ed77ac7cb857d7a326c428ee4 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 11 May 2020 19:07:18 +0000 Subject: [PATCH] The next boolean --- src/Database/DBStructure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index bd54ecf8c5..7c82b518b8 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -729,7 +729,7 @@ class DBStructure } if ($field['COLUMN_KEY'] == 'PRI') { - $fielddata[$field['COLUMN_NAME']]['primary'] = 1; + $fielddata[$field['COLUMN_NAME']]['primary'] = true; } $fielddata[$field['COLUMN_NAME']]['Collation'] = $field['COLLATION_NAME'];