From 11d3ffb7be31cdb067392c36160b539b186b7f9c Mon Sep 17 00:00:00 2001 From: Giuseppe Cutuli Date: Wed, 9 Sep 2020 08:50:59 +0200 Subject: [PATCH] feat: boolean field --- src/Property.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Property.ts b/src/Property.ts index d1867584..66211110 100644 --- a/src/Property.ts +++ b/src/Property.ts @@ -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' }