egirlskey/src/api/models/access-token.ts

7 lines
152 B
TypeScript
Raw Normal View History

const collection = global.db.collection('access_tokens');
collection.createIndex('token');
collection.createIndex('hash');
export default collection;