1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 06:06:16 +02:00
This commit is contained in:
syuilo
2017-01-17 09:12:33 +09:00
parent 52af143a41
commit 87d14a9545
18 changed files with 59 additions and 34 deletions

View File

@@ -1,4 +1,6 @@
const collection = global.db.collection('access_tokens');
import db from '../../db/mongodb';
const collection = db.collection('access_tokens');
collection.createIndex('token');
collection.createIndex('hash');