summaryrefslogtreecommitdiff
path: root/src/api/models
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-06-07 00:44:26 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-06-07 00:44:26 +0900
commit079f2098e3047c299b2e6d113efee26f1edad361 (patch)
treed27d729e7d249c3adaa5853fa845fc71a871d9a0 /src/api/models
parentMerge pull request #536 from syuilo/greenkeeper/ts-node-3.0.5 (diff)
downloadsharkey-079f2098e3047c299b2e6d113efee26f1edad361.tar.gz
sharkey-079f2098e3047c299b2e6d113efee26f1edad361.tar.bz2
sharkey-079f2098e3047c299b2e6d113efee26f1edad361.zip
WIP #161
Diffstat (limited to 'src/api/models')
-rw-r--r--src/api/models/post-watching.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/api/models/post-watching.ts b/src/api/models/post-watching.ts
new file mode 100644
index 0000000000..41d37e2703
--- /dev/null
+++ b/src/api/models/post-watching.ts
@@ -0,0 +1,3 @@
+import db from '../../db/mongodb';
+
+export default db.get('post_watching') as any; // fuck type definition