adding boilerplate for database validations

This commit is contained in:
talksik
2022-06-08 08:16:27 -05:00
parent f0b76497c5
commit 4879d3fb80
2 changed files with 10 additions and 3 deletions
@@ -24,6 +24,12 @@ const usersCollection: mongoDB.Collection = db.collection('users');
const lineCollection: mongoDB.Collection = db.collection('lines');
const lineMembersCollection: mongoDB.Collection = db.collection('lineMembers');
// client.on('connection', () => {
// db.command({
// collMod: 'lines',
// });
// });
collections.users = usersCollection;
collections.lines = lineCollection;
collections.lineMembers = lineMembersCollection;