move sql from broadleaf-component