]> git.mjollnir.org Git - moodle.git/commitdiff
Added default value for enum that has been defined as not null.
authorvyshane <vyshane>
Wed, 12 Apr 2006 09:01:07 +0000 (09:01 +0000)
committervyshane <vyshane>
Wed, 12 Apr 2006 09:01:07 +0000 (09:01 +0000)
blocks/db/mysql.php

index eface981243bacad3e91b428cd768c34daac11c0..280f5cf5ad06cfcaf6de038053b1e7d7346a7d38 100644 (file)
@@ -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 '',