Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Postgresql uses smallint instead of tinyint.

  • Loading branch information...
commit 05ba8bd0d9a79f8ab1ea7717fb8e5b6485eaf3b7 1 parent fed354f
authored May 17, 2004

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/db/postgres7.php
2  lib/db/postgres7.php
@@ -495,7 +495,7 @@ function main_upgrade($oldversion=0) {
495 495
     }
496 496
     
497 497
     if ($oldversion < 2004050400) {     /// add a visible field for events
498  
-        table_column("event", "", "visible", "tinyint", "1", "", "1", "not null", "timeduration");
  498
+        table_column("event", "", "visible", "smallint", "1", "", "1", "not null", "timeduration");
499 499
         if ($events = get_records('event')) {
500 500
             foreach($events as $event) {
501 501
                 if ($moduleid = get_field('modules', 'id', 'name', $event->modulename)) {

0 notes on commit 05ba8bd

Please sign in to comment.
Something went wrong with that request. Please try again.