Permalink
Browse files

Merge pull request #13 from SLonoed/master

fix after node-mysql lib changed
  • Loading branch information...
2 parents a168db4 + abb71d2 commit 5e4ed03abf85cc10dcdee58867ff0bae68430cfb @rsandor committed Sep 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 migrate.js
View
@@ -986,7 +986,7 @@ function main() {
var Connect = {
mysql: function() {
// Create the client
- client = new require('mysql').createClient(config.mysql);
+ client = new require('mysql').createConnection(config.mysql);
client.query("show tables;", function(err, result, fields) {
if (err)

0 comments on commit 5e4ed03

Please sign in to comment.