From ab6d44896a5a7e464513de15d30e12dbd8ece5a0 Mon Sep 17 00:00:00 2001
From: vyshane <vyshane>
Date: Thu, 13 Apr 2006 02:55:27 +0000
Subject: [PATCH] Added default value for not null.

---
 blocks/db/postgres7.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blocks/db/postgres7.php b/blocks/db/postgres7.php
index c2357f01da1..29b0040e4ae 100644
--- a/blocks/db/postgres7.php
+++ b/blocks/db/postgres7.php
@@ -71,7 +71,7 @@ global $CFG;
                         blockid INT8 not null default '0',
                         pageid INT8 not null default '0',
                         pagetype varchar(12) not null default '',
-                        position char not null check (position in ('l', 'r')) ,
+                        position char not null default 'l' check (position in ('l', 'r')) ,
                         weight int not null default '0',
                         visible int not null default '0',
                         configdata text not null default ''