From: vyshane Date: Thu, 13 Apr 2006 02:55:27 +0000 (+0000) Subject: Added default value for not null. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ab6d44896a5a7e464513de15d30e12dbd8ece5a0;p=moodle.git Added default value for not null. --- diff --git a/blocks/db/postgres7.php b/blocks/db/postgres7.php index c2357f01da..29b0040e4a 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 ''