 INSERT INTO SAKAI_REALM_RL_FN VALUES((select REALM_KEY from SAKAI_REALM where REALM_ID = '!site.template.portfolio'), (select ROLE_KEY from SAKAI_REALM_ROLE where ROLE_NAME = 'Reviewer'), (select FUNCTION_KEY from SAKAI_REALM_FUNCTION where FUNCTION_NAME = 'roster.export'));
 INSERT INTO SAKAI_REALM_RL_FN VALUES((select REALM_KEY from SAKAI_REALM where REALM_ID = '!site.template.portfolio'), (select ROLE_KEY from SAKAI_REALM_ROLE where ROLE_NAME = 'Reviewer'), (select FUNCTION_KEY from SAKAI_REALM_FUNCTION where FUNCTION_NAME = 'roster.viewofficialphoto'));
 INSERT INTO SAKAI_REALM_RL_FN VALUES((select REALM_KEY from SAKAI_REALM where REALM_ID = '!site.template.portfolio'), (select ROLE_KEY from SAKAI_REALM_ROLE where ROLE_NAME = 'Reviewer'), (select FUNCTION_KEY from SAKAI_REALM_FUNCTION where FUNCTION_NAME = 'roster.viewprofile'));
-
 -- end SAK-18370
 
 -- SAK-17206
-alter table POLL_OPTION add DELETED number(1,0) DEFAULT NULL;
+alter table POLL_OPTION add DELETED number(1,0) DEFAULT NULL;
    VALUE varchar2(255) not null,
    primary key (ID)
);
create index PROFILE_FRIENDS_FRIEND_UUID_I on PROFILE_FRIENDS_T (FRIEND_UUID);
create index PROFILE_FRIENDS_USER_UUID_I on PROFILE_FRIENDS_T (USER_UUID);
create index PROFILE_IMAGES_USER_UUID_I on PROFILE_IMAGES_T (USER_UUID);

    CONFIRMED_DATE date,
    primary key (ID)
);

create table PROFILE_IMAGES_EXTERNAL_T (
    USER_UUID varchar2(99) not null,
    URL_MAIN varchar2(4000) not null,
    URL_THUMB varchar2(4000),
    primary key (USER_UUID)
);

create table PROFILE_IMAGES_T (
    ID number(19,0) not null,
    USER_UUID varchar2(99) not null,
