1
1
mirror of https://github.com/Burn-E99/GroupUp.git synced 2026-01-06 11:27:54 -05:00

Added full notification system

This commit is contained in:
Ean Milligan (Bastion)
2023-04-28 23:27:42 -04:00
parent c2c7737119
commit 85b843e0e2
6 changed files with 274 additions and 34 deletions

View File

@ -66,6 +66,18 @@ await dbClient.execute(`
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
`);
console.log('Table created');
/**
* notifiedFlag
* 0 = Not notified
* 1 = Notified Successfully
* -1 = Failed to notify
* lockedFlag
* 0 = Not locked
* 1 = Locked Successfully
* -1 = Failed to lock
*
* If both are -1, the event failed to delete
*/
await dbClient.close();
console.log('Done!');