mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
10 lines
348 B
TypeScript
10 lines
348 B
TypeScript
import type { MigrationContext, IrreversibleMigration } from '@db/types';
|
|
|
|
export class MakeStoppedAtNullable1607431743768 implements IrreversibleMigration {
|
|
async up({ queryRunner, tablePrefix }: MigrationContext) {
|
|
await queryRunner.query(
|
|
'ALTER TABLE ' + tablePrefix + 'execution_entity ALTER COLUMN "stoppedAt" DROP NOT NULL',
|
|
);
|
|
}
|
|
}
|