From ac7f5f72e00e21371da57776a3e91962958e0f71 Mon Sep 17 00:00:00 2001 From: Luigi Maselli Date: Sat, 6 Aug 2016 12:24:46 +0200 Subject: [PATCH] Not hardcoded user in Knexfile I know people should edit it but I think it is easier to start in development with this convention --- knexfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knexfile.js b/knexfile.js index 4615738..8b7d963 100644 --- a/knexfile.js +++ b/knexfile.js @@ -6,7 +6,7 @@ module.exports = { client: 'postgresql', connection: { database: 'reddice', - user: 'rem', + user: process.env.LOGNAME, password: '' }, pool: {