From: vyshane Date: Wed, 12 Apr 2006 09:01:07 +0000 (+0000) Subject: Added default value for enum that has been defined as not null. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4b10570aef00dda038eff423b23e2df6a79b6e02;p=moodle.git Added default value for enum that has been defined as not null. --- diff --git a/blocks/db/mysql.php b/blocks/db/mysql.php index eface98124..280f5cf5ad 100644 --- a/blocks/db/mysql.php +++ b/blocks/db/mysql.php @@ -69,7 +69,7 @@ global $CFG; `blockid` int(10) not null default '0', `pageid` int(10) not null default '0', `pagetype` varchar(12) not null default '', - `position` enum('l', 'r') not null, + `position` enum('l', 'r') not null default 'l', `weight` tinyint(3) not null default '0', `visible` tinyint(1) not null default '0', `configdata` text not null default '',