-- 组件明细变更日志增加辅助属性字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_pom_stockchglogdetail' AND KSQL_COL_NAME ='fchildauxpropertyid')
 ALTER TABLE t_pom_stockchglogdetail ADD (fchildauxpropertyid NVARCHAR(200) DEFAULT ' ' NOT NULL );