diff --git a/nodejs/models/rc_db.js b/nodejs/models/rcdb.js similarity index 83% rename from nodejs/models/rc_db.js rename to nodejs/models/rcdb.js index 4ed3cc8..546f79e 100644 --- a/nodejs/models/rc_db.js +++ b/nodejs/models/rcdb.js @@ -1,11 +1,11 @@ -var mysql = require('mysql'); -var config = require('../config'); +var mysql = require('mysql'); +var config = require('../config'); var connection = mysql.createConnection({ - host : config.mysql_host, - user : config.mysql_user, - password : config.mysql_secret, - database : config.mysql_database + host: config.mysql_host, + user: config.mysql_user, + password: config.mysql_secret, + database: config.mysql_database }); connection.connect();