add bbs and create sql