more profile updates
This commit is contained in:
parent
4c2ea84993
commit
39eb753e7e
3 changed files with 44 additions and 3 deletions
|
|
@ -25,6 +25,10 @@
|
|||
- fix [ 1373493 ] Upgrade script fails because parameters are not quoted
|
||||
- Upgrade now uses --results-file parameter on mysqldump because some
|
||||
operating system don't handle UTF-8 characters through their pipes.
|
||||
- Added backend API for user profile schema to eliminate inconsistencies
|
||||
and to allow the dashboard to use user profile fields as preferences rather
|
||||
than having a seperate asset type for it. This mechanism is more efficient,
|
||||
and thusly increases the performance of the dashboard.
|
||||
|
||||
6.8.0
|
||||
- Switched Date::Manip to DateTime for better performance and more
|
||||
|
|
|
|||
|
|
@ -24,11 +24,22 @@ start(); # this line required
|
|||
|
||||
upgradeRichEditor();
|
||||
fixCSFaqTemplateAnchors();
|
||||
updateProfileSystem();
|
||||
convertDashboardPrefs();
|
||||
|
||||
finish(); # this line required
|
||||
|
||||
|
||||
#-------------------------------------------------
|
||||
sub updateProfileSystem {
|
||||
print "\tUpdating user profile system.\n" unless ($quiet);
|
||||
WebGUI::SQL->write("alter table userProfileField change fieldLabel label varchar(255) not null default 'Undefined'");
|
||||
WebGUI::SQL->write("alter table userProfileField change dataType fieldType varchar(128) not null default 'text'");
|
||||
WebGUI::SQL->write("alter table userProfileField change dataValues possibleValues text");
|
||||
WebGUI::SQL->write("alter table userProfileField change dataDefault defaultValues text");
|
||||
WebGUI::SQL->write("alter table userProfileCategory change categoryName label varchar(255) not null default 'Undefined'");
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub upgradeRichEditor {
|
||||
print "\tUpgrade rich editor\n" unless ($quiet);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue