Add support for PostgresDB and save date as Date

This commit is contained in:
Jan Oberhauser
2019-07-22 20:29:06 +02:00
parent d027545986
commit a9453806b8
27 changed files with 310 additions and 73 deletions

View File

@@ -37,8 +37,8 @@ export class CredentialsEntity implements ICredentialsDb {
nodesAccess: ICredentialNodeAccess[];
@Column()
createdAt: number;
createdAt: Date;
@Column()
updatedAt: number;
updatedAt: Date;
}

View File

@@ -39,10 +39,10 @@ export class ExecutionEntity implements IExecutionFlattedDb {
retrySuccessId: string;
@Column()
startedAt: number;
startedAt: Date;
@Column()
stoppedAt: number;
stoppedAt: Date;
@Column('simple-json')
workflowData: IWorkflowDb;

View File

@@ -36,10 +36,10 @@ export class WorkflowEntity implements IWorkflowDb {
connections: IConnections;
@Column()
createdAt: number;
createdAt: Date;
@Column()
updatedAt: number;
updatedAt: Date;
@Column({
type: 'simple-json',