__IF_EXISTS__
SELECT 1
  FROM CI_UT_INSTL_DTL
WHERE SCRIPT_FILE_NAME = 'FW45001_APDATA_OUAF-32647.SQL'
   AND END_DTTM IS NOT NULL
/
__THEN__
__EXIT__
__ENDIF__

UPDATE F1_MIGR_REQ SET OWNER_FLG = 'CM' WHERE MIGR_REQ_CD IN ('F1-FrameworkAdmin','F1-SchemaAdmin')
/

UPDATE F1_MIGR_REQ_L SET OWNER_FLG = 'CM' WHERE MIGR_REQ_CD IN ('F1-FrameworkAdmin','F1-SchemaAdmin')
/

UPDATE F1_MIGR_REQ_INSTR SET OWNER_FLG = 'CM' WHERE MIGR_REQ_CD IN ('F1-FrameworkAdmin','F1-SchemaAdmin')
/

UPDATE F1_MIGR_REQ_INSTR_L SET OWNER_FLG = 'CM' WHERE MIGR_REQ_CD IN ('F1-FrameworkAdmin','F1-SchemaAdmin')
/
