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

7 lines
152 B
TypeScript

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