RENAME: bbs -> channel

This commit is contained in:
syuilo 2017-10-31 21:42:11 +09:00
parent 0e95cdb04c
commit dc9fddf839
8 changed files with 65 additions and 67 deletions

View file

@ -1,13 +0,0 @@
import * as mongo from 'mongodb';
import db from '../../db/mongodb';
const collection = db.get('bbs_threads');
export default collection as any; // fuck type definition
export type IBbsThread = {
_id: mongo.ObjectID;
created_at: Date;
title: string;
user_id: mongo.ObjectID;
};