Skip to content

Commit

Permalink
Fixes #184 (#217)
Browse files Browse the repository at this point in the history
Signed-off-by: digitaldan <dan@digitaldan.com>
  • Loading branch information
digitaldan authored Oct 16, 2018
1 parent 3328b97 commit a3f5fa9
Show file tree
Hide file tree
Showing 7 changed files with 172 additions and 284 deletions.
111 changes: 0 additions & 111 deletions mobileregistrationservice/AndroidRegistrationService.js

This file was deleted.

68 changes: 0 additions & 68 deletions mobileregistrationservice/AppleRegistrationService.js

This file was deleted.

95 changes: 0 additions & 95 deletions mobileregistrationservice/GenericRegistrationService.js

This file was deleted.

6 changes: 3 additions & 3 deletions models/userdevice.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ var mongoose = require('mongoose'),

var UserDeviceSchema = new Schema({
owner: {type: ObjectId, required: true},
androidRegistration: {type: String, unique: true},
iosDeviceToken: {type: String, unique: true},
androidRegistration: {type: String},
iosDeviceToken: {type: String},
deviceType: {type: String},
deviceModel: {type: String},
deviceId: {type: String, unique: true},
deviceId: {type: String},
globalLocation: {type: [Number], index: '2d'},
globalAltitude: {type: Number},
globalAccuracy: {type: Number},
Expand Down
Loading

0 comments on commit a3f5fa9

Please sign in to comment.