chore: Remove default values from fields of database models
This commit is contained in:
@@ -4,7 +4,6 @@ import { AES, enc } from 'crypto-js';
|
||||
import Base from './base';
|
||||
import User from './user';
|
||||
import Step from './step';
|
||||
import App from './app';
|
||||
import appConfig from '../config/app';
|
||||
import { IJSONObject } from '@automatisch/types';
|
||||
import Telemetry from '../helpers/telemetry';
|
||||
@@ -15,7 +14,7 @@ class Connection extends Base {
|
||||
data: string;
|
||||
formattedData?: IJSONObject;
|
||||
userId!: string;
|
||||
verified = false;
|
||||
verified: boolean;
|
||||
draft: boolean;
|
||||
count?: number;
|
||||
flowCount?: number;
|
||||
@@ -32,7 +31,7 @@ class Connection extends Base {
|
||||
data: { type: 'string' },
|
||||
formattedData: { type: 'object' },
|
||||
userId: { type: 'string', format: 'uuid' },
|
||||
verified: { type: 'boolean' },
|
||||
verified: { type: 'boolean', default: false },
|
||||
draft: { type: 'boolean' },
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user