整理した
This commit is contained in:
parent
8a279a4656
commit
cf33e483f7
552 changed files with 360 additions and 1311 deletions
|
|
@ -1,17 +0,0 @@
|
|||
<<<<<<< HEAD:src/server/api/models/poll-vote.ts
|
||||
import db from '../../../db/mongodb';
|
||||
=======
|
||||
import * as mongo from 'mongodb';
|
||||
import db from '../../db/mongodb';
|
||||
>>>>>>> refs/remotes/origin/master:src/api/models/poll-vote.ts
|
||||
|
||||
const PollVote = db.get<IPollVote>('pollVotes');
|
||||
export default PollVote;
|
||||
|
||||
export interface IPollVote {
|
||||
_id: mongo.ObjectID;
|
||||
createdAt: Date;
|
||||
userId: mongo.ObjectID;
|
||||
postId: mongo.ObjectID;
|
||||
choice: number;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue