mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
Type adjustment in MySQL columns
* TIMESTAMP type columns have been replaced by DATETIME. Depending on the version of MySQL and SQL_MODE, the DBMS does not accept to create TIMESTAMP NOT NULL columns without a default value;
This commit is contained in:
@@ -36,9 +36,9 @@ export class CredentialsEntity implements ICredentialsDb {
|
||||
@Column('json')
|
||||
nodesAccess: ICredentialNodeAccess[];
|
||||
|
||||
@Column('timestamp')
|
||||
@Column('datetime')
|
||||
createdAt: Date;
|
||||
|
||||
@Column('timestamp')
|
||||
@Column('datetime')
|
||||
updatedAt: Date;
|
||||
}
|
||||
|
||||
@@ -36,10 +36,10 @@ export class ExecutionEntity implements IExecutionFlattedDb {
|
||||
@Column({ nullable: true })
|
||||
retrySuccessId: string;
|
||||
|
||||
@Column('timestamp')
|
||||
@Column('datetime')
|
||||
startedAt: Date;
|
||||
|
||||
@Column('timestamp')
|
||||
@Column('datetime')
|
||||
stoppedAt: Date;
|
||||
|
||||
@Column('json')
|
||||
|
||||
@@ -35,10 +35,10 @@ export class WorkflowEntity implements IWorkflowDb {
|
||||
@Column('json')
|
||||
connections: IConnections;
|
||||
|
||||
@Column('timestamp')
|
||||
@Column('datetime')
|
||||
createdAt: Date;
|
||||
|
||||
@Column('timestamp')
|
||||
@Column('datetime')
|
||||
updatedAt: Date;
|
||||
|
||||
@Column({
|
||||
|
||||
Reference in New Issue
Block a user