feat(cli): run migrations and app in start command (#284)
* feat: perform pending migrations in start command * feat: log error when DB connection is refused * feat: log error when Redis connection is refused * refactor: fix type errors * fix: correct server and copy graphql schema * fix: differentiate migrations by env * chore: remove dev executable * chore: fix typo in default postgresUsername * fix: copy json files into dist folder * chore(cli): add dev script * chore: pull non-dev logs to info level * feat(cli): run app in start command * fix(backend): remove default count in Connection * fix(cli): remove .eslintrc usage in lint script * refactor: remove disableMigrationsListValidation * refactor: make Step optional in ExecutionStep * refactor: make Flow optional in Step
This commit is contained in:
@@ -9,10 +9,10 @@ import { IJSONObject } from '@automatisch/types';
|
||||
class Connection extends Base {
|
||||
id!: string;
|
||||
key!: string;
|
||||
data: string;
|
||||
formattedData!: IJSONObject;
|
||||
data = '';
|
||||
formattedData?: IJSONObject;
|
||||
userId!: string;
|
||||
verified: boolean;
|
||||
verified = false;
|
||||
count: number;
|
||||
|
||||
static tableName = 'connections';
|
||||
@@ -50,7 +50,7 @@ class Connection extends Base {
|
||||
appConfig.encryptionKey
|
||||
).toString();
|
||||
|
||||
delete this['formattedData'];
|
||||
delete this.formattedData;
|
||||
}
|
||||
|
||||
decryptData(): void {
|
||||
|
||||
Reference in New Issue
Block a user