diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-10-31 21:42:11 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-10-31 21:42:11 +0900 |
| commit | dc9fddf839df7959a83819eb7064f402db05f200 (patch) | |
| tree | f0abfda87a835186a605d839e5c3904bc78b9593 /src/api/models | |
| parent | Merge remote-tracking branch 'refs/remotes/origin/master' into bbs (diff) | |
| download | sharkey-dc9fddf839df7959a83819eb7064f402db05f200.tar.gz sharkey-dc9fddf839df7959a83819eb7064f402db05f200.tar.bz2 sharkey-dc9fddf839df7959a83819eb7064f402db05f200.zip | |
RENAME: bbs -> channel
Diffstat (limited to 'src/api/models')
| -rw-r--r-- | src/api/models/channel.ts (renamed from src/api/models/bbs-thread.ts) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/models/bbs-thread.ts b/src/api/models/channel.ts index a92157c6f4..79edb71367 100644 --- a/src/api/models/bbs-thread.ts +++ b/src/api/models/channel.ts @@ -1,11 +1,11 @@ import * as mongo from 'mongodb'; import db from '../../db/mongodb'; -const collection = db.get('bbs_threads'); +const collection = db.get('channels'); export default collection as any; // fuck type definition -export type IBbsThread = { +export type IChannel = { _id: mongo.ObjectID; created_at: Date; title: string; |