From 8461afb4ff66419367113ea302316e6873d34390 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Sat, 18 Jan 2025 09:01:35 +0000 Subject: [PATCH] add {BOOLEAN_TRUE} for pgsql, see #891 --- public/upgrade.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/upgrade.php b/public/upgrade.php index 7461713f..31459f7b 100644 --- a/public/upgrade.php +++ b/public/upgrade.php @@ -303,6 +303,7 @@ function db_query_parsed($sql, $ignore_errors = 0, $attach_mysql = "") '{UNSIGNED}' => '', '{FULLTEXT}' => '', '{BOOLEAN}' => "BOOLEAN NOT NULL DEFAULT '" . db_get_boolean(false) . "'", + '{BOOLEAN_TRUE}' => "BOOLEAN NOT NULL DEFAULT '" . db_get_boolean(true) . "'", '{UTF-8}' => '', # UTF-8 is simply ignored. '{LATIN1}' => '', # same for latin1 '{IF_NOT_EXISTS}' => '', # does not work with PgSQL