summaryrefslogtreecommitdiffstats
path: root/server/config
diff options
context:
space:
mode:
authorJannik Schönartz2018-08-08 20:58:27 +0200
committerJannik Schönartz2018-08-08 20:58:27 +0200
commit6641f50d8421a440b5eee397ecd58efaf7eb7ef8 (patch)
tree02010b3cdee5c3d4ef8c201f213de4ec869d266f /server/config
parentRoles of Users now in fancy boxes and other small ui polishing (diff)
downloadbas-6641f50d8421a440b5eee397ecd58efaf7eb7ef8.tar.gz
bas-6641f50d8421a440b5eee397ecd58efaf7eb7ef8.tar.xz
bas-6641f50d8421a440b5eee397ecd58efaf7eb7ef8.zip
[server/database] Delete old database lib
Because of the use of sequelize, the old mysql database lib becomes unnecessary. Remove old code that was not used anymore.
Diffstat (limited to 'server/config')
-rw-r--r--server/config/database.template.json5
-rw-r--r--server/config/database1.template.json7
2 files changed, 3 insertions, 9 deletions
diff --git a/server/config/database.template.json b/server/config/database.template.json
index a9e7f8c..857fcc6 100644
--- a/server/config/database.template.json
+++ b/server/config/database.template.json
@@ -1,6 +1,7 @@
{
"host": "<DB_HOSTNAME>",
- "user": "<DB_USERNAME>",
+ "username": "<DB_USERNAME>",
"password": "<DB_PASSWORD>",
- "database": "<DB_NAME>"
+ "database": "<DB_NAME>",
+ "dialect": "<mysql|mariadb|sqlite|postgres|mssql>"
} \ No newline at end of file
diff --git a/server/config/database1.template.json b/server/config/database1.template.json
deleted file mode 100644
index 857fcc6..0000000
--- a/server/config/database1.template.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "host": "<DB_HOSTNAME>",
- "username": "<DB_USERNAME>",
- "password": "<DB_PASSWORD>",
- "database": "<DB_NAME>",
- "dialect": "<mysql|mariadb|sqlite|postgres|mssql>"
-} \ No newline at end of file