Skip to content

Commit

Permalink
moodle16cleanup: lib/db correctly put the default values, change the
Browse files Browse the repository at this point in the history
length of log_display.module which is just 20 chars on postgres7.sql
  • Loading branch information
martinlanghoff committed May 17, 2006
1 parent aec6df3 commit ccd218e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/db/postgres7.php
Expand Up @@ -1543,6 +1543,20 @@ function main_upgrade($oldversion=0) {
You weren't using it anyway. ;-)");
}
}

modify_database('', 'ALTER TABLE prefix_course_request
ALTER COLUMN "password" TYPE varchar(50),
ALTER COLUMN "password" SET DEFAULT \'\'');

modify_database('', 'ALTER TABLE prefix_course
ALTER COLUMN currency TYPE varchar(3)');

modify_database('', 'ALTER TABLE prefix_course_categories
ALTER COLUMN path SET DEFAULT \'\'');

modify_database('', 'ALTER TABLE prefix_log_display
ALTER COLUMN module TYPE varchar(20)');

}


Expand Down

0 comments on commit ccd218e

Please sign in to comment.