diff --git a/database.js b/database.js index e130946..aea1bcf 100644 --- a/database.js +++ b/database.js @@ -7,18 +7,4 @@ const connection = mysql.createPool({ database: process.env.DB_NAME }); -/* -connection.connect((err) => { - if (err) { - console.error('Error connecting to the database:', err); - return; - } - console.log('Connected to the MySQL database'); -}); -*/ - -module.exports = connection; - -// TODO -// Change how i insert in my db so player1 = player1Win -// Maybe store the players positions in the database directly in the room object +module.exports = connection; \ No newline at end of file diff --git a/businesses/Case.js b/models/Case.js similarity index 100% rename from businesses/Case.js rename to models/Case.js diff --git a/businesses/Grid.js b/models/Grid.js similarity index 100% rename from businesses/Grid.js rename to models/Grid.js diff --git a/businesses/Piece.js b/models/Piece.js similarity index 100% rename from businesses/Piece.js rename to models/Piece.js diff --git a/businesses/Player.js b/models/Player.js similarity index 100% rename from businesses/Player.js rename to models/Player.js diff --git a/businesses/Room.js b/models/Room.js similarity index 100% rename from businesses/Room.js rename to models/Room.js