1
0
mirror of https://github.com/misskey-dev/misskey synced 2025-01-07 02:14:08 +09:00
misskey/src/api/models/access-token.ts

9 lines
181 B
TypeScript
Raw Normal View History

2017-01-17 09:12:33 +09:00
import db from '../../db/mongodb';
const collection = db.collection('access_tokens');
collection.createIndex('token');
collection.createIndex('hash');
export default collection;