Skip to content

Commit

Permalink
feat: boolean field
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppecutuli committed Sep 9, 2020
1 parent 397d225 commit 11d3ffb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Property.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export class Property extends BaseProperty {
if (this.column.type === Number) { type = 'number' }
if (this.column.type === String) { type = 'string' }
if (this.column.type === Date) { type = 'datetime' }
if (this.column.type === Boolean) { type = 'boolean' }
}

if (this.reference()) { type = 'reference' }
Expand Down

0 comments on commit 11d3ffb

Please sign in to comment.