From 12e529b0532e466dfba4b7b2480d10004fac4654 Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Tue, 23 Feb 2016 17:44:22 +0100 Subject: [PATCH] rename rcdb file --- nodejs/models/{rc_db.js => rcdb.js} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename nodejs/models/{rc_db.js => rcdb.js} (83%) 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();