]> git.mjollnir.org Git - moodle.git/commitdiff
Added default value for not null.
authorvyshane <vyshane>
Thu, 13 Apr 2006 02:55:27 +0000 (02:55 +0000)
committervyshane <vyshane>
Thu, 13 Apr 2006 02:55:27 +0000 (02:55 +0000)
blocks/db/postgres7.php

index c2357f01da14f5e51795231694d30f0378ddeb32..29b0040e4ae4e579670f350cc4591ffbd42635cc 100644 (file)
@@ -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 ''