Skip to content

Commit 12a835f

Browse files
committed
create db schema and connect with db
1 parent 490d92e commit 12a835f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/dbConnection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const mongoose = require("mongoose");
44
const connectDb = async ()=>{
55
try{
66
const connect = await mongoose.connect(process.env.CONNECTION_STRING);
7-
console.log("Database Connected" :
7+
console.log("Database Connected",
88
connect.connection.host,
99
connect.connection.name
1010
);

0 commit comments

Comments
 (0)