Skip to content

Commit

Permalink
fix: tick collection names fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
SayakMukhopadhyay committed Nov 23, 2021
1 parent ebd4b49 commit 2322470
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eddn_listener/models/tick_detector.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ let tickDetector = new mongoose.Schema({
delta: Number
})

module.exports = mongoose.model('tickDetector', tickDetector)
module.exports = mongoose.model('tickDetector', tickDetector, 'tick_detector')
2 changes: 1 addition & 1 deletion tick_detector/src/db/schemas/tickDetector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ export const TickDetectorSchema = new Schema<ITickDetectorSchema>({
delta: Number
});

export const TickDetectorModel = model('TickDetector', TickDetectorSchema, 'tickDetector');
export const TickDetectorModel = model('TickDetector', TickDetectorSchema, 'tick_detector');
2 changes: 1 addition & 1 deletion tick_detector/src/db/schemas/tickTimesV5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ export const TickTimesSchema = new Schema<ITickTimesSchema>({
updated_at: Date
});

export const TickTimesModel = model('TickTimes', TickTimesSchema, 'tickTimesV4');
export const TickTimesModel = model('TickTimes', TickTimesSchema, 'ticktimesv4');

0 comments on commit 2322470

Please sign in to comment.