Skip to content

Commit c95301d

Browse files
committed
Removed DB credentials logs & printenv
1 parent 35cd374 commit c95301d

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

backend/bin/docker-start.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/sh
22
set -e
3-
printenv
43

54
# migrate DB
65
echo "Starting migration!"

backend/src/lib/migrations.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,6 @@ export async function dropDatabase() {
4040
}
4141

4242
async function initMigrations() {
43-
console.log({
44-
host: process.env.MYSQL_HOST,
45-
port: parseInt(process.env.MYSQL_PORT),
46-
user: process.env.MYSQL_USER,
47-
password: process.env.MYSQL_PASSWORD,
48-
database: process.env.MYSQL_DATABASE,
49-
// debug: true,
50-
connectionLimit: 1,
51-
});
5243
const poolConfig: ConnectionOptions = {
5344
host: process.env.MYSQL_HOST,
5445
port: parseInt(process.env.MYSQL_PORT),

0 commit comments

Comments
 (0)