DB update scripts for SakaiPerson

Description

Need to ensure the SakaiPerson table db conversion scripts are kept up to date.

Environment

None

Test Plan

None

Activity

Show:

Steve Swinsburg November 3, 2010 at 11:09 PM

1.4.x, r84264

Hudson CI Server November 3, 2010 at 11:04 PM

Integrated in profile2 trunk #268 (See http://builds.sakaiproject.org:8080/job/profile2%20trunk/268/)
DB upgrade scripts for SakaiPerson

Steve Swinsburg November 3, 2010 at 10:58 PM

r84262. These are already in the main conversion scripts. Needs a merge to 1.4.

Steve Swinsburg November 3, 2010 at 10:51 PM

MySQL:
alter table SAKAI_PERSON_T add STAFF_PROFILE text;
alter table SAKAI_PERSON_T add UNIVERSITY_PROFILE_URL text;
alter table SAKAI_PERSON_T add ACADEMIC_PROFILE_URL text;
alter table SAKAI_PERSON_T add PUBLICATIONS text;
alter table SAKAI_PERSON_T add BUSINESS_BIOGRAPHY text;

Oracle:
alter table SAKAI_PERSON_T add STAFF_PROFILE varchar2(4000);
alter table SAKAI_PERSON_T add UNIVERSITY_PROFILE_URLvarchar2(4000);
alter table SAKAI_PERSON_T add ACADEMIC_PROFILE_URL varchar2(4000);
alter table SAKAI_PERSON_T add PUBLICATIONS varchar2(4000);
alter table SAKAI_PERSON_T add BUSINESS_BIOGRAPHY varchar2(4000);

Steve Swinsburg August 30, 2010 at 7:02 PM

So far we have:

<property name="staffProfile" column="STAFF_PROFILE" type="string" length="4000" />
<property name="universityProfileUrl" column="UNIVERSITY_PROFILE_URL" type="string" length="4000" />
<property name="academicProfileUrl" column="ACADEMIC_PROFILE_URL" type="string" length="4000" />
<property name="publications" column="PUBLICATIONS" type="string" length="4000" />
<property name="businessBiography" column="BUSINESS_BIOGRAPHY" type="string" length="4000" />

Also need to check the other fields are correctly setup, eg string/4000, and if not, provide a conversion.

Fixed

Details

Assignee

Reporter

Conversion Script Required

Yes

Components

Fix versions

Priority

Created April 5, 2010 at 5:02 PM
Updated February 4, 2015 at 2:27 PM
Resolved November 3, 2010 at 11:09 PM