Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Postgresql uses smallint instead of tinyint.

  • Loading branch information...
commit 05ba8bd0d9a79f8ab1ea7717fb8e5b6485eaf3b7 1 parent fed354f
paca70 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/db/postgres7.php
View
2  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)) {
Please sign in to comment.
Something went wrong with that request. Please try again.