diff --git a/index.js b/index.js index c378c20..933d9ba 100644 --- a/index.js +++ b/index.js @@ -180,8 +180,6 @@ if (fs.existsSync("./import.json")) { insertData(); } -const findOrphans = async () => { // Find extensions that exist but don't have a linked Discord user - pool.query("SELECT id FROM asterisk.devices WHERE id NOT IN (SELECT extension FROM asterisk.discord_users)") // Startup require("./migrations")(pool).then(() => {