Skip to content

Commit

Permalink
feat: add deviceIdentifier to trees model (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcharlton authored Apr 8, 2021
1 parent 3f223c0 commit 4be4845
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/models/trees.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,20 @@ export class Trees extends Entity {
})
deviceId?: Number;

@property({
type: String,
required: false,
postgresql: {
columnName: 'device_identifier',
dataType: 'character varying',
dataLength: null,
dataPrecision: null,
dataScale: null,
nullable: 'YES',
},
})
deviceIdentifier?: Number;

@property({
type: String,
required: false,
Expand Down

0 comments on commit 4be4845

Please sign in to comment.