1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-29 05:58:22 +09:00
cherrypick/src/api/models/access-token.ts
syuilo 87d14a9545 ✌️
2017-01-17 09:12:33 +09:00

9 lines
181 B
TypeScript

import db from '../../db/mongodb';
const collection = db.collection('access_tokens');
collection.createIndex('token');
collection.createIndex('hash');
export default collection;