MDL-26361 scorm - fix upgrade on change to not null
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 17 Feb 2011 16:25:44 +0000 (17:25 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 17 Feb 2011 16:25:44 +0000 (17:25 +0100)
commit3b3e2cecf3a2f4d2130e4a675402e33a69cb5c61
tree1721d656ceb9b236bdeb27884ec2312c880d78aa
parent99faefb29b11baf285b8012b5cf17432d139b282
MDL-26361 scorm - fix upgrade on change to not null

Every time one column is changed from null to not null
we must ensure that there aren't nulls at all or the
DDL statement will fail, as was reported here. The
simplest way, just apply for the default when the column is null.
mod/scorm/db/upgrade.php