/**BEGIN E:\NEXTERP_PDM\PDM_UPGRADE\PDMS\BRANCH_LASTEST\PDM\EB_TABLE.SQL **/

-- 规则执行实例增加字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_RULE_INSTANCE' AND KSQL_COL_NAME ='FBIZMODEL') 
ALTER TABLE T_EB_RULE_INSTANCE ADD FBIZMODEL BIGINT NOT NULL DEFAULT 0;
/**END E:\NEXTERP_PDM\PDM_UPGRADE\PDMS\BRANCH_LASTEST\PDM\EB_TABLE.SQL **/