commit add mechanism install sql to db