Fix sql in travis