mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-31 23:19:24 +09:00
10 lines
217 B
TypeScript
10 lines
217 B
TypeScript
import db from '../../db/mongodb';
|
|
|
|
const collection = db.collection('apps');
|
|
|
|
collection.createIndex('name_id');
|
|
collection.createIndex('name_id_lower');
|
|
collection.createIndex('secret');
|
|
|
|
export default collection;
|