From 28e97fb523e915c72009ec1722fe2ea2a1c3fe8a Mon Sep 17 00:00:00 2001 From: flifloo Date: Mon, 8 Jun 2020 12:20:17 +0200 Subject: [PATCH] Setup tests --- config/config_example.json | 18 +++++++++++++++++- config/config_exemple.json | 26 -------------------------- 2 files changed, 17 insertions(+), 27 deletions(-) delete mode 100644 config/config_exemple.json diff --git a/config/config_example.json b/config/config_example.json index d309ce1..0c6ace8 100644 --- a/config/config_example.json +++ b/config/config_example.json @@ -1,10 +1,26 @@ { - "database": { + "development": { "username": "root", "password": null, "database": "database_test", "host": "127.0.0.1", "dialect": "postgres", "operatorsAliases": false + }, + "test": { + "username": "letu", + "password": "letu", + "database": "letu", + "host": "postgres", + "dialect": "postgres", + "operatorsAliases": false + }, + "production": { + "username": "root", + "password": null, + "database": "database_production", + "host": "127.0.0.1", + "dialect": "postgres", + "operatorsAliases": false } } diff --git a/config/config_exemple.json b/config/config_exemple.json deleted file mode 100644 index 31f54b2..0000000 --- a/config/config_exemple.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "development": { - "username": "root", - "password": null, - "database": "database_test", - "host": "127.0.0.1", - "dialect": "postgres", - "operatorsAliases": false - }, - "test": { - "username": "root", - "password": null, - "database": "database_test", - "host": "127.0.0.1", - "dialect": "postgres", - "operatorsAliases": false - }, - "production": { - "username": "root", - "password": null, - "database": "database_production", - "host": "127.0.0.1", - "dialect": "postgres", - "operatorsAliases": false - } -}