mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
✨ Add support for PostgresDB and save date as Date
This commit is contained in:
@@ -37,8 +37,8 @@ export class CredentialsEntity implements ICredentialsDb {
|
||||
nodesAccess: ICredentialNodeAccess[];
|
||||
|
||||
@Column()
|
||||
createdAt: number;
|
||||
createdAt: Date;
|
||||
|
||||
@Column()
|
||||
updatedAt: number;
|
||||
updatedAt: Date;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user