/**Begin D:\PDM_UPGRADE\PDM1\HRCS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_USERROLERELAT' AND KSQL_COL_NAME IN ('FASSIGNTYPE')) 
 ALTER TABLE T_HRCS_USERROLERELAT ADD (FASSIGNTYPE CHAR(1) DEFAULT '1' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_USERROLERELAT' AND KSQL_COL_NAME IN ('FSCHEMEID')) 
 ALTER TABLE T_HRCS_USERROLERELAT ADD (FSCHEMEID BIGINT DEFAULT 0 NOT NULL );

/**End D:\PDM_UPGRADE\PDM1\HRCS_table.sql **/
