diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-28 15:54:47 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-28 15:54:47 +0900 |
| commit | 02be56cfc0feaa6dad6a63759eeae0ec7dfbfff4 (patch) | |
| tree | 40071b6b9f18edd1c5b31563801043c666c82a4c /src/api/models/othello-matching.ts | |
| parent | wip (diff) | |
| download | misskey-02be56cfc0feaa6dad6a63759eeae0ec7dfbfff4.tar.gz misskey-02be56cfc0feaa6dad6a63759eeae0ec7dfbfff4.tar.bz2 misskey-02be56cfc0feaa6dad6a63759eeae0ec7dfbfff4.zip | |
wip
Diffstat (limited to 'src/api/models/othello-matching.ts')
| -rw-r--r-- | src/api/models/othello-matching.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/api/models/othello-matching.ts b/src/api/models/othello-matching.ts index 5cc39cae13..9c84d7fb9f 100644 --- a/src/api/models/othello-matching.ts +++ b/src/api/models/othello-matching.ts @@ -3,14 +3,14 @@ import deepcopy = require('deepcopy'); import db from '../../db/mongodb'; import { IUser, pack as packUser } from './user'; -const Matching = db.get<IMatching>('othello_matchings'); +const Matching = db.get<IMatching>('othelloMatchings'); export default Matching; export interface IMatching { _id: mongo.ObjectID; - created_at: Date; - parent_id: mongo.ObjectID; - child_id: mongo.ObjectID; + createdAt: Date; + parentId: mongo.ObjectID; + childId: mongo.ObjectID; } /** |