feat: Add draft column to connections

This commit is contained in:
Faruk AYDIN
2022-07-27 13:54:10 +03:00
parent 095948e737
commit 70d59c6c64
4 changed files with 17 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ class Connection extends Base {
formattedData?: IJSONObject;
userId!: string;
verified = false;
draft: boolean;
count?: number;
static tableName = 'connections';
@@ -29,6 +30,7 @@ class Connection extends Base {
formattedData: { type: 'object' },
userId: { type: 'string', format: 'uuid' },
verified: { type: 'boolean' },
draft: { type: 'boolean' },
},
};