✨ Add support for PostgresDB and save date as Date
This commit is contained in:
@@ -33,9 +33,9 @@ export class CredentialsEntity implements ICredentialsDb {
|
||||
@Column('json')
|
||||
nodesAccess: ICredentialNodeAccess[];
|
||||
|
||||
@Column()
|
||||
createdAt: number;
|
||||
@Column('Date')
|
||||
createdAt: Date;
|
||||
|
||||
@Column()
|
||||
updatedAt: number;
|
||||
@Column('Date')
|
||||
updatedAt: Date;
|
||||
}
|
||||
|
||||
@@ -36,11 +36,11 @@ export class ExecutionEntity implements IExecutionFlattedDb {
|
||||
@Column()
|
||||
retrySuccessId: string;
|
||||
|
||||
@Column()
|
||||
startedAt: number;
|
||||
@Column('Date')
|
||||
startedAt: Date;
|
||||
|
||||
@Column()
|
||||
stoppedAt: number;
|
||||
@Column('Date')
|
||||
stoppedAt: Date;
|
||||
|
||||
@Column('json')
|
||||
workflowData: IWorkflowDb;
|
||||
|
||||
@@ -34,11 +34,11 @@ export class WorkflowEntity implements IWorkflowDb {
|
||||
@Column('json')
|
||||
connections: IConnections;
|
||||
|
||||
@Column()
|
||||
createdAt: number;
|
||||
@Column('Date')
|
||||
createdAt: Date;
|
||||
|
||||
@Column()
|
||||
updatedAt: number;
|
||||
@Column('Date')
|
||||
updatedAt: Date;
|
||||
|
||||
@Column('json')
|
||||
settings?: IWorkflowSettings;
|
||||
|
||||
Reference in New Issue
Block a user