export class AddTelemetryRetentionToHostDockerKubernetes1779282769946 {
    constructor() {
        this.name = "AddTelemetryRetentionToHostDockerKubernetes1779282769946";
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "Host" ADD "retainTelemetryDataForDays" integer`);
        await queryRunner.query(`ALTER TABLE "Host" ADD "telemetryRetentionConfig" jsonb`);
        await queryRunner.query(`ALTER TABLE "DockerHost" ADD "retainTelemetryDataForDays" integer`);
        await queryRunner.query(`ALTER TABLE "DockerHost" ADD "telemetryRetentionConfig" jsonb`);
        await queryRunner.query(`ALTER TABLE "KubernetesCluster" ADD "retainTelemetryDataForDays" integer`);
        await queryRunner.query(`ALTER TABLE "KubernetesCluster" ADD "telemetryRetentionConfig" jsonb`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "KubernetesCluster" DROP COLUMN "telemetryRetentionConfig"`);
        await queryRunner.query(`ALTER TABLE "KubernetesCluster" DROP COLUMN "retainTelemetryDataForDays"`);
        await queryRunner.query(`ALTER TABLE "DockerHost" DROP COLUMN "telemetryRetentionConfig"`);
        await queryRunner.query(`ALTER TABLE "DockerHost" DROP COLUMN "retainTelemetryDataForDays"`);
        await queryRunner.query(`ALTER TABLE "Host" DROP COLUMN "telemetryRetentionConfig"`);
        await queryRunner.query(`ALTER TABLE "Host" DROP COLUMN "retainTelemetryDataForDays"`);
    }
}
//# sourceMappingURL=1779282769946-AddTelemetryRetentionToHostDockerKubernetes.js.map