Skip to content

Commit

Permalink
chore: console.log connection
Browse files Browse the repository at this point in the history
  • Loading branch information
fratzinger committed May 13, 2024
1 parent 38176b6 commit 8452c96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { Sequelize } from 'sequelize';
export default (DB?: 'postgres' | 'mysql' | string) => {
const logging: Options['logging'] = false;

console.log('DB:', DB);

if (DB === 'postgres') {
return new Sequelize(
process.env.POSTGRES_DB ?? 'sequelize',
Expand Down

0 comments on commit 8452c96

Please sign in to comment.