From 05ba8bd0d9a79f8ab1ea7717fb8e5b6485eaf3b7 Mon Sep 17 00:00:00 2001 From: paca70 <paca70> Date: Mon, 17 May 2004 06:52:06 +0000 Subject: [PATCH] Postgresql uses smallint instead of tinyint. --- lib/db/postgres7.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db/postgres7.php b/lib/db/postgres7.php index 1adf113f29..1c5a1e6084 100644 --- a/lib/db/postgres7.php +++ b/lib/db/postgres7.php @@ -495,7 +495,7 @@ function main_upgrade($oldversion=0) { } if ($oldversion < 2004050400) { /// add a visible field for events - table_column("event", "", "visible", "tinyint", "1", "", "1", "not null", "timeduration"); + table_column("event", "", "visible", "smallint", "1", "", "1", "not null", "timeduration"); if ($events = get_records('event')) { foreach($events as $event) { if ($moduleid = get_field('modules', 'id', 'name', $event->modulename)) { -- 2.39.5