From 4b10570aef00dda038eff423b23e2df6a79b6e02 Mon Sep 17 00:00:00 2001 From: vyshane Date: Wed, 12 Apr 2006 09:01:07 +0000 Subject: [PATCH] Added default value for enum that has been defined as not null. --- blocks/db/mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '', -- 2.39.5